From fe2e47478ec0f86f0e27646e22c1b8496e661313 Mon Sep 17 00:00:00 2001 From: Lynix Date: Fri, 25 Sep 2015 23:17:44 +0200 Subject: [PATCH] Commit forgotten files Former-commit-id: dd296ce0e7c4128c35b41cbe753ffb572858ba6c --- include/Nazara/Physics/Geom.hpp | 14 +++++++------- include/Nazara/Physics/Geom.inl | 4 ++-- include/Nazara/Renderer/RenderStates.inl | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/include/Nazara/Physics/Geom.hpp b/include/Nazara/Physics/Geom.hpp index 1a82f8445..3db143292 100644 --- a/include/Nazara/Physics/Geom.hpp +++ b/include/Nazara/Physics/Geom.hpp @@ -190,22 +190,22 @@ namespace Nz unsigned int m_vertexStride; }; - class NzCylinderGeom; + class CylinderGeom; - using NzCylinderGeomConstRef = ObjectRef; - using NzCylinderGeomRef = ObjectRef; + using CylinderGeomConstRef = ObjectRef; + using CylinderGeomRef = ObjectRef; - class NAZARA_PHYSICS_API NzCylinderGeom : public PhysGeom + class NAZARA_PHYSICS_API CylinderGeom : public PhysGeom { public: - NzCylinderGeom(float length, float radius, const Matrix4f& transformMatrix = Matrix4f::Identity()); - NzCylinderGeom(float length, float radius, const Vector3f& translation, const Quaternionf& rotation = Quaternionf::Identity()); + CylinderGeom(float length, float radius, const Matrix4f& transformMatrix = Matrix4f::Identity()); + CylinderGeom(float length, float radius, const Vector3f& translation, const Quaternionf& rotation = Quaternionf::Identity()); float GetLength() const; float GetRadius() const; GeomType GetType() const override; - template static NzCylinderGeomRef New(Args&&... args); + template static CylinderGeomRef New(Args&&... args); private: NewtonCollision* CreateHandle(PhysWorld* world) const override; diff --git a/include/Nazara/Physics/Geom.inl b/include/Nazara/Physics/Geom.inl index 1489348ac..9699cac96 100644 --- a/include/Nazara/Physics/Geom.inl +++ b/include/Nazara/Physics/Geom.inl @@ -53,9 +53,9 @@ namespace Nz } template - NzCylinderGeomRef NzCylinderGeom::New(Args&&... args) + CylinderGeomRef CylinderGeom::New(Args&&... args) { - std::unique_ptr object(new NzCylinderGeom(std::forward(args)...)); + std::unique_ptr object(new CylinderGeom(std::forward(args)...)); object->SetPersistent(false); return object.release(); diff --git a/include/Nazara/Renderer/RenderStates.inl b/include/Nazara/Renderer/RenderStates.inl index 498cdee56..6840d3b5f 100644 --- a/include/Nazara/Renderer/RenderStates.inl +++ b/include/Nazara/Renderer/RenderStates.inl @@ -29,11 +29,11 @@ namespace Nz Face& face = (i == 0) ? backFace : frontFace; face.stencilCompare = RendererComparison_Always; - face.stencilFail = nzStencilOperation_Keep; + face.stencilFail = StencilOperation_Keep; face.stencilMask = 0xFFFFFFFF; - face.stencilPass = nzStencilOperation_Keep; + face.stencilPass = StencilOperation_Keep; face.stencilReference = 0; - face.stencilZFail = nzStencilOperation_Keep; + face.stencilZFail = StencilOperation_Keep; } }