Преглед изворни кода

Switch to lowercase namespace

Daniele Bartolini пре 13 година
родитељ
комит
07e68abce6
68 измењених фајлова са 123 додато и 123 уклоњено
  1. 1 1
      src/core/CoreEventArgs.h
  2. 2 2
      src/core/Delegate.h
  3. 2 2
      src/core/SignalSlot.h
  4. 2 2
      src/core/Singleton.h
  5. 2 2
      src/core/Types.h
  6. 2 2
      src/core/VertexData.h
  7. 1 1
      src/core/Weak.cpp
  8. 2 2
      src/core/Weak.h
  9. 1 1
      src/core/WithProperties.h
  10. 2 2
      src/core/bv/Box.h
  11. 1 1
      src/core/bv/Circle.cpp
  12. 2 2
      src/core/bv/Circle.h
  13. 2 2
      src/core/bv/Frustum.cpp
  14. 2 2
      src/core/bv/Frustum.h
  15. 2 2
      src/core/bv/Rect.cpp
  16. 2 2
      src/core/bv/Rect.h
  17. 2 2
      src/core/bv/Sphere.h
  18. 2 2
      src/core/containers/Dictionary.h
  19. 1 1
      src/core/containers/Generic.cpp
  20. 2 2
      src/core/containers/Generic.h
  21. 2 2
      src/core/containers/List.h
  22. 2 2
      src/core/containers/RBTree.h
  23. 2 2
      src/core/containers/Str.cpp
  24. 2 2
      src/core/containers/Str.h
  25. 2 2
      src/core/math/Angles.cpp
  26. 2 2
      src/core/math/Angles.h
  27. 2 2
      src/core/math/Color4.cpp
  28. 2 2
      src/core/math/Color4.h
  29. 2 2
      src/core/math/Interpolation.h
  30. 2 2
      src/core/math/Intersection.h
  31. 2 2
      src/core/math/Mat3.cpp
  32. 2 2
      src/core/math/Mat3.h
  33. 2 2
      src/core/math/Mat4.cpp
  34. 2 2
      src/core/math/Mat4.h
  35. 2 2
      src/core/math/MathUtils.cpp
  36. 2 2
      src/core/math/MathUtils.h
  37. 2 2
      src/core/math/Plane.cpp
  38. 2 2
      src/core/math/Plane.h
  39. 2 2
      src/core/math/Point2.cpp
  40. 2 2
      src/core/math/Point2.h
  41. 2 2
      src/core/math/Quat.cpp
  42. 2 2
      src/core/math/Quat.h
  43. 2 2
      src/core/math/Random.h
  44. 2 2
      src/core/math/Ray.h
  45. 1 1
      src/core/math/Shape.cpp
  46. 1 1
      src/core/math/Shape.h
  47. 2 2
      src/core/math/Triangle.h
  48. 2 2
      src/core/math/Vec2.cpp
  49. 2 2
      src/core/math/Vec2.h
  50. 2 2
      src/core/math/Vec3.cpp
  51. 2 2
      src/core/math/Vec3.h
  52. 2 2
      src/core/math/Vec4.cpp
  53. 2 2
      src/core/math/Vec4.h
  54. 2 2
      src/core/mem/Auto.h
  55. 2 2
      src/core/mem/GarbageBin.cpp
  56. 2 2
      src/core/mem/GarbageBin.h
  57. 2 2
      src/core/mem/Shared.h
  58. 2 2
      src/core/streams/File.cpp
  59. 2 2
      src/core/streams/File.h
  60. 1 1
      src/core/streams/FileStream.cpp
  61. 1 1
      src/core/streams/FileStream.h
  62. 1 1
      src/core/streams/FileSubStream.cpp
  63. 1 1
      src/core/streams/FileSubStream.h
  64. 1 1
      src/core/streams/MemoryStream.cpp
  65. 1 1
      src/core/streams/MemoryStream.h
  66. 2 2
      src/core/streams/NullStream.h
  67. 2 2
      src/core/streams/Stream.cpp
  68. 2 2
      src/core/streams/Stream.h

+ 1 - 1
src/core/CoreEventArgs.h

@@ -28,7 +28,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Types.h"
 #include "Str.h"
 
-namespace Crown
+namespace crown
 {
 
 class EventArgs

+ 2 - 2
src/core/Delegate.h

@@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Weak.h"
 #include "GarbageBin.h"
 
-namespace Crown
+namespace crown
 {
 
 /* Delegate with 0 arguments */
@@ -489,4 +489,4 @@ static IDelegate4<TResult, TArg0, TArg1, TArg2, TArg3>* CreateDelegate(TClass* o
 }
 
 
-} //namespace Crown
+} //namespace crown

+ 2 - 2
src/core/SignalSlot.h

@@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "List.h"
 #include "Delegate.h"
 
-namespace Crown
+namespace crown
 {
 
 /*
@@ -96,4 +96,4 @@ void MulticastEvent<TSource, TArg1>::operator+=(HandlerType* handler)
 		mHandlers.Append(handler);
 }
 
-} //namespace Crown
+} //namespace crown

+ 2 - 2
src/core/Singleton.h

@@ -27,7 +27,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 #include <cstdlib>
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -79,5 +79,5 @@ void Singleton<T>::CleanUp()
 	mInstance = 0;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/Types.h

@@ -28,7 +28,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Config.h"
 #include <cstddef>
 
-namespace Crown
+namespace crown
 {
 
 typedef unsigned char			uchar;		// 8-bit
@@ -53,5 +53,5 @@ typedef ulong					StrId64;	// 64-bit string hash
 #endif
 #endif
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/VertexData.h

@@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Vec2.h"
 #include "Color4.h"
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -46,5 +46,5 @@ public:
 	Color4 color;
 };
 
-} // namespace Crown
+} // namespace crown
 

+ 1 - 1
src/core/Weak.cpp

@@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "List.h"
 #include "Log.h"
 
-namespace Crown
+namespace crown
 {
 
 typedef List<WeakReferenced**> ObjectPPList;

+ 2 - 2
src/core/Weak.h

@@ -28,7 +28,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Types.h"
 #include "Exceptions.h"
 
-namespace Crown
+namespace crown
 {
 
 class WeakReferenced
@@ -161,5 +161,5 @@ private:
 	}
 };
 
-} // namespace Crown
+} // namespace crown
 

+ 1 - 1
src/core/WithProperties.h

@@ -33,7 +33,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Log.h"
 #include "Weak.h"
 
-namespace Crown
+namespace crown
 {
 
 class StrSerializable

+ 2 - 2
src/core/bv/Box.h

@@ -31,7 +31,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Vec3.h"
 #include "Sphere.h"
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -313,5 +313,5 @@ inline Sphere Box::to_sphere() const
 	return Sphere(get_center(), get_radius());
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 1 - 1
src/core/bv/Circle.cpp

@@ -26,7 +26,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Circle.h"
 #include "Rect.h"
 
-namespace Crown
+namespace crown
 {
 
 Rect Circle::to_rect() const

+ 2 - 2
src/core/bv/Circle.h

@@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Vec2.h"
 #include "MathUtils.h"
 
-namespace Crown
+namespace crown
 {
 
 class Rect;
@@ -112,5 +112,5 @@ inline real Circle::get_area() const
 	return r * r * math::PI;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/bv/Frustum.cpp

@@ -27,7 +27,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Types.h"
 #include "Intersection.h"
 
-namespace Crown
+namespace crown
 {
 
 //-----------------------------------------------------------------------------
@@ -174,5 +174,5 @@ Box Frustum::to_box() const
 	return tmp;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/bv/Frustum.h

@@ -32,7 +32,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Sphere.h"
 #include "Vec3.h"
 
-namespace Crown
+namespace crown
 {
 
 enum FrustumPlane
@@ -65,5 +65,5 @@ public:
 	Box			to_box() const;							//!< Returns a Box containing the frustum volume
 };
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/bv/Rect.cpp

@@ -26,7 +26,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Rect.h"
 #include "Circle.h"
 
-namespace Crown
+namespace crown
 {
 
 //-----------------------------------------------------------------------------
@@ -139,5 +139,5 @@ Circle Rect::to_circle() const
 	return Circle(get_center(), get_radius());
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/bv/Rect.h

@@ -30,7 +30,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Vec2.h"
 
 
-namespace Crown
+namespace crown
 {
 
 class Circle;
@@ -118,5 +118,5 @@ inline void Rect::set_max(const Vec2& max)
 	this->max = max;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/bv/Sphere.h

@@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "MathUtils.h"
 #include "Vec3.h"
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -145,5 +145,5 @@ inline bool Sphere::contains_point(const Vec3& p) const
 	return (dist < r * r);
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/containers/Dictionary.h

@@ -28,7 +28,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Types.h"
 #include "RBTree.h"
 
-namespace Crown
+namespace crown
 {
 
 //Note: TKey must implement operators < and ==
@@ -48,4 +48,4 @@ public:
 	}
 };
 
-} // namespace Crown
+} // namespace crown

+ 1 - 1
src/core/containers/Generic.cpp

@@ -28,7 +28,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "List.h"
 #include "Types.h"
 
-namespace Crown
+namespace crown
 {
 
 //-----------------------------------------------------------------------------

+ 2 - 2
src/core/containers/Generic.h

@@ -28,7 +28,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Types.h"
 #include "Shared.h"
 
-namespace Crown
+namespace crown
 {
 
 class Str;
@@ -145,5 +145,5 @@ T* Generic::asType() const
 	return NULL;
 }
 
-} //namespace Crown
+} //namespace crown
 

+ 2 - 2
src/core/containers/List.h

@@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include <cassert>
 #include <cstring>
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -345,5 +345,5 @@ inline T* List<T>::end()
 	return mArray + (mSize - 1);
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/containers/RBTree.h

@@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include <cassert>
 #include "Types.h"
 
-namespace Crown
+namespace crown
 {
 
 enum RBTreeNodeColor { RED, BLACK };
@@ -686,5 +686,5 @@ int RBTree<TKey, TValue>::dbgVerify(Node* n) const
 }
 #endif
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/containers/Str.cpp

@@ -26,12 +26,12 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Str.h"
 #include "Types.h"
 
-namespace Crown
+namespace crown
 {
 
 const char* Str::EMPTY = "";
 
 Str Str::mEmpty("");
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/containers/Str.h

@@ -31,7 +31,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "List.h"
 #include "Types.h"
 
-namespace Crown
+namespace crown
 {
 
 class Str
@@ -985,5 +985,5 @@ inline int Str::FindLast(const char* str, char c)
 	return -1;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Angles.cpp

@@ -32,7 +32,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Str.h"
 #include "Vec3.h"
 
-namespace Crown
+namespace crown
 {
 
 const Angles Angles::ZERO = Angles(0.0, 0.0, 0.0);
@@ -129,5 +129,5 @@ Quat Angles::to_quat() const
 	return b * p * h;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Angles.h

@@ -27,7 +27,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 #include "Types.h"
 
-namespace Crown
+namespace crown
 {
 
 class Mat3;
@@ -61,5 +61,5 @@ public:
 	static const Angles		ZERO;
 };
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Color4.cpp

@@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 #include "Color4.h"
 
-namespace Crown
+namespace crown
 {
 
 const Color4 Color4::ALICEBLUE				= Color4(0XF0F8FFFF);
@@ -176,5 +176,5 @@ const Color4 Color4::WHITESMOKE				= Color4(0XF5F5F5FF);
 const Color4 Color4::YELLOW					= Color4(0XFFFF00FF);
 const Color4 Color4::YELLOWGREEN			= Color4(0X9ACD32FF);
 
-} //namespace Crown
+} //namespace crown
 

+ 2 - 2
src/core/math/Color4.h

@@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "MathUtils.h"
 #include "Str.h"
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -480,5 +480,5 @@ inline Color4 operator*(float scalar, const Color4& color)
 	return Color4(color.r * scalar, color.g * scalar, color.b * scalar, color.a * scalar);
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Interpolation.h

@@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 #pragma once
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -156,5 +156,5 @@ inline T Interpolation::catmull_rom(const T& p0, const T& p1, const T& p2, const
 	return tmp * 0.5;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Intersection.h

@@ -35,7 +35,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Circle.h"
 #include "Rect.h"
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -857,5 +857,5 @@ inline bool Intersection::TestCircleRect(const Circle& c1, const Rect& r2, Vec2&
 	return true;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Mat3.cpp

@@ -33,7 +33,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Str.h"
 #include "Vec3.h"
 
-namespace Crown
+namespace crown
 {
 
 const Mat3 Mat3::IDENTITY = Mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0);
@@ -655,5 +655,5 @@ Str Mat3::to_str() const
 	return tmp;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Mat3.h

@@ -27,7 +27,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 #include "Types.h"
 
-namespace Crown
+namespace crown
 {
 
 class Angles;
@@ -119,5 +119,5 @@ public:
 	static const Mat3	IDENTITY;
 };
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Mat4.cpp

@@ -34,7 +34,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Vec3.h"
 #include "Vec4.h"
 
-namespace Crown
+namespace crown
 {
 
 const Mat4 Mat4::IDENTITY = Mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0);
@@ -1092,5 +1092,5 @@ Str Mat4::to_str() const
 	return tmp;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Mat4.h

@@ -27,7 +27,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 #include "Types.h"
 
-namespace Crown
+namespace crown
 {
 
 class Angles;
@@ -136,5 +136,5 @@ public:
 	static const Mat4	IDENTITY;
 };
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/MathUtils.cpp

@@ -26,9 +26,9 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "MathUtils.h"
 #include "Types.h"
 
-namespace Crown
+namespace crown
 {
 
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/MathUtils.h

@@ -32,7 +32,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 #define BIT(i) (1 << i)
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -300,5 +300,5 @@ inline bool solve_quadratic_equation(real a, real b, real c, real& x1, real& x2)
 }
 
 } // namespace math
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Plane.cpp

@@ -27,7 +27,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Plane.h"
 #include "Types.h"
 
-namespace Crown
+namespace crown
 {
 
 const Plane Plane::ZERO = Plane(Vec3::ZERO, 0.0);
@@ -85,5 +85,5 @@ bool Plane::contains_point(const Vec3& p) const
 	return math::equals(n.dot(p) + d, (real)0.0);
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Plane.h

@@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Sphere.h"
 #include "Vec3.h"
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -61,5 +61,5 @@ public:
 	static const Plane	ZAXIS;
 };
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Point2.cpp

@@ -26,7 +26,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Point2.h"
 #include "Types.h"
 
-namespace Crown
+namespace crown
 {
 
 const Point2 Point2::ZERO	= Point2(0, 0);
@@ -34,4 +34,4 @@ const Point2 Point2::ONE	= Point2(1, 1);
 const Point2 Point2::XAXIS	= Point2(1, 0);
 const Point2 Point2::YAXIS	= Point2(0, 1);
 
-} // namespace Crown
+} // namespace crown

+ 2 - 2
src/core/math/Point2.h

@@ -32,7 +32,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Vec2.h"
 #include "Vec3.h"
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -312,5 +312,5 @@ inline Str Point2::to_str() const
 	return tmp;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Quat.cpp

@@ -31,7 +31,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Quat.h"
 #include "Vec3.h"
 
-namespace Crown
+namespace crown
 {
 
 Quat::Quat()
@@ -206,5 +206,5 @@ Quat slerp(const Quat& start, const Quat& end, real t)
 	return delta * start;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Quat.h

@@ -28,7 +28,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Types.h"
 #include "Vec3.h"
 
-namespace Crown
+namespace crown
 {
 
 class Angles;
@@ -78,5 +78,5 @@ public:
 	Str			to_str() const;						//!< Returns a Str containing the quaternion's components
 };
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Random.h

@@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 #pragma once
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -73,5 +73,5 @@ inline float Random::get_unit_float()
 	return get_int() / (float) 0x7FFF;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Ray.h

@@ -31,7 +31,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Sphere.h"
 #include "Vec3.h"
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -66,5 +66,5 @@ inline Ray::~Ray()
 {
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 1 - 1
src/core/math/Shape.cpp

@@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 #include "Shape.h"
 
-namespace Crown
+namespace crown
 {
 
 Shape::Shape(ShapeType type):

+ 1 - 1
src/core/math/Shape.h

@@ -30,7 +30,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Box.h"
 #include "Ray.h"
 
-namespace Crown
+namespace crown
 {
 
 enum ShapeType

+ 2 - 2
src/core/math/Triangle.h

@@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Plane.h"
 #include "MathUtils.h"
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -137,5 +137,5 @@ inline Plane Triangle::to_plane() const
 	return Plane(n, d);
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Vec2.cpp

@@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 #include "Vec2.h"
 
-namespace Crown
+namespace crown
 {
 
 const Vec2 Vec2::ZERO	= Vec2(0.0, 0.0);
@@ -33,5 +33,5 @@ const Vec2 Vec2::ONE	= Vec2(1.0, 1.0);
 const Vec2 Vec2::XAXIS	= Vec2(1.0, 0.0);
 const Vec2 Vec2::YAXIS	= Vec2(0.0, 1.0);
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Vec2.h

@@ -30,7 +30,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "MathUtils.h"
 #include "Str.h"
 
-namespace Crown
+namespace crown
 {
 
 //!< 2D column vector
@@ -371,5 +371,5 @@ inline Vec2 operator*(real k, const Vec2& a)
 	return a * k;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Vec3.cpp

@@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 #include "Vec3.h"
 
-namespace Crown
+namespace crown
 {
 
 const Vec3 Vec3::ZERO	= Vec3(0.0, 0.0, 0.0);
@@ -34,5 +34,5 @@ const Vec3 Vec3::XAXIS	= Vec3(1.0, 0.0, 0.0);
 const Vec3 Vec3::YAXIS	= Vec3(0.0, 1.0, 0.0);
 const Vec3 Vec3::ZAXIS	= Vec3(0.0, 0.0, 1.0);
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Vec3.h

@@ -31,7 +31,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Str.h"
 #include "Vec2.h"
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -387,5 +387,5 @@ inline Vec3 get_projected_perpendicular(const Vec3& v, const Vec3& n)
 	return v - get_projected_parallel(v, n);
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Vec4.cpp

@@ -26,7 +26,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Vec4.h"
 #include "Types.h"
 
-namespace Crown
+namespace crown
 {
 
 const Vec4 Vec4::ZERO	= Vec4(0.0, 0.0, 0.0, 0.0);
@@ -36,5 +36,5 @@ const Vec4 Vec4::YAXIS	= Vec4(0.0, 1.0, 0.0, 0.0);
 const Vec4 Vec4::ZAXIS	= Vec4(0.0, 0.0, 1.0, 0.0);
 const Vec4 Vec4::WAXIS	= Vec4(0.0, 0.0, 0.0, 1.0);
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/math/Vec4.h

@@ -30,7 +30,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "MathUtils.h"
 #include "Str.h"
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -352,5 +352,5 @@ inline Str Vec4::to_str() const
 	return tmp;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/mem/Auto.h

@@ -28,7 +28,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Types.h"
 #include <cassert>
 
-namespace Crown
+namespace crown
 {
 
 template <typename T>
@@ -187,5 +187,5 @@ inline const T* Auto<T>::GetPointer() const
 	return mPtr;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/mem/GarbageBin.cpp

@@ -27,7 +27,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Device.h"
 #include "Types.h"
 
-namespace Crown
+namespace crown
 {
 
 void IGarbageable::Trash()
@@ -59,4 +59,4 @@ void GarbageBin::Empty()
 	mGarbage.clear();
 }
 
-} //namespace Crown
+} //namespace crown

+ 2 - 2
src/core/mem/GarbageBin.h

@@ -28,7 +28,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Types.h"
 #include "List.h"
 
-namespace Crown
+namespace crown
 {
 
 class IGarbageable
@@ -52,4 +52,4 @@ private:
 	List<IGarbageable*> mGarbage;
 };
 
-} //namespace Crown
+} //namespace crown

+ 2 - 2
src/core/mem/Shared.h

@@ -27,7 +27,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 #include "Types.h"
 
-namespace Crown
+namespace crown
 {
 
 class ReferenceCount
@@ -269,5 +269,5 @@ inline uint Shared<T>::GetReferenceCount()
 	return mReferenceCount.GetReferenceCount();
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/streams/File.cpp

@@ -27,7 +27,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Log.h"
 #include "MathUtils.h"
 
-namespace Crown
+namespace crown
 {
 
 File::File() :
@@ -93,5 +93,5 @@ size_t File::GetSize()
 	return size;
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/streams/File.h

@@ -28,7 +28,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include <cstdio>
 #include "Types.h"
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -66,5 +66,5 @@ private:
 						File();
 };
 
-} // namespace Crown
+} // namespace crown
 

+ 1 - 1
src/core/streams/FileStream.cpp

@@ -28,7 +28,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Log.h"
 #include "MathUtils.h"
 
-namespace Crown
+namespace crown
 {
 
 FileStream::FileStream(StreamOpenMode openMode, const Str& filename) :

+ 1 - 1
src/core/streams/FileStream.h

@@ -30,7 +30,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "File.h"
 #include "Str.h"
 
-namespace Crown
+namespace crown
 {
 
 /**

+ 1 - 1
src/core/streams/FileSubStream.cpp

@@ -27,7 +27,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Types.h"
 #include "Log.h"
 
-namespace Crown
+namespace crown
 {
 
 FileSubStream::FileSubStream(StreamOpenMode openMode, const Str& filename, size_t position, size_t length) :

+ 1 - 1
src/core/streams/FileSubStream.h

@@ -27,7 +27,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 #include "FileStream.h"
 
-namespace Crown
+namespace crown
 {
 
 class FileSubStream: public Stream

+ 1 - 1
src/core/streams/MemoryStream.cpp

@@ -30,7 +30,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Log.h"
 #include "Types.h"
 
-namespace Crown
+namespace crown
 {
 
 MemoryBuffer::MemoryBuffer()

+ 1 - 1
src/core/streams/MemoryStream.h

@@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Stream.h"
 #include "Exceptions.h"
 
-namespace Crown
+namespace crown
 {
 
 class MemoryBuffer

+ 2 - 2
src/core/streams/NullStream.h

@@ -27,7 +27,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 #include "Stream.h"
 
-namespace Crown
+namespace crown
 {
 
 /**
@@ -121,5 +121,5 @@ public:
 	bool		CanSeek() { return true; }
 };
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/streams/Stream.cpp

@@ -28,7 +28,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "zlib.h"
 #include "MathUtils.h"
 
-namespace Crown
+namespace crown
 {
 
 bool Stream::ZipTo(Stream* stream, size_t size, size_t& zippedSize)
@@ -340,5 +340,5 @@ void TextWriter::WriteString(const char* string)
 	}
 }
 
-} // namespace Crown
+} // namespace crown
 

+ 2 - 2
src/core/streams/Stream.h

@@ -28,7 +28,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Types.h"
 #include "MathUtils.h"
 
-namespace Crown
+namespace crown
 {
 
 enum SeekMode
@@ -304,5 +304,5 @@ private:
 	Stream*				mStream;
 };
 
-} // namespace Crown
+} // namespace crown