Changeset 3341
- Timestamp:
- 01/31/10 14:35:37 (7 weeks ago)
- Location:
- Engine/branches/0185_GEN_PHYSICS_REFACTOR_2/Physics
- Files:
-
- 3 modified
-
I_PhysicsService.hpp (modified) (2 diffs)
-
I_PhysicsZone.hpp (modified) (2 diffs)
-
src/I_PhysicsZone.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Engine/branches/0185_GEN_PHYSICS_REFACTOR_2/Physics/I_PhysicsService.hpp
r3107 r3341 32 32 33 33 #include <Zen/Core/Math/Math.hpp> 34 34 #include <Zen/Core/Math/Vector3.hpp> 35 35 #include <Zen/Core/Memory/managed_ptr.hpp> 36 36 #include <Zen/Core/Memory/managed_weak_ptr.hpp> … … 71 71 /// this is the case, the plugin should throw an exception 72 72 /// if an application attemts to create more than one zone. 73 virtual pPhysicsZone_type createZone( ) = 0;73 virtual pPhysicsZone_type createZone(const Math::Vector3& _min, const Math::Vector3& _max) = 0; 74 74 75 75 /// Step the physics simulations by the specified amount of time. -
Engine/branches/0185_GEN_PHYSICS_REFACTOR_2/Physics/I_PhysicsZone.hpp
r3107 r3341 108 108 virtual void stepSimulation(double _elapsedTime) = 0; 109 109 110 virtual void setZoneSize(const Math::Vector3& _min, const Math::Vector3& _max) = 0;111 112 110 /// Set the default gravity. 113 111 /// @todo TR - Does this actually work? If not then possibly should remove it. … … 184 182 /// @{ 185 183 protected: 186 I_PhysicsZone( );184 I_PhysicsZone(const Math::Vector3& _min, const Math::Vector3& _max); 187 185 virtual ~I_PhysicsZone(); 188 186 /// @} -
Engine/branches/0185_GEN_PHYSICS_REFACTOR_2/Physics/src/I_PhysicsZone.cpp
r2969 r3341 31 31 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 32 32 33 I_PhysicsZone::I_PhysicsZone( )33 I_PhysicsZone::I_PhysicsZone(const Math::Vector3& _min, const Math::Vector3& _max) 34 34 { 35 35 }
