mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-13 21:40:11 +00:00
Remove unused function
This commit is contained in:
parent
60a2625b89
commit
e87d2aa1af
@ -230,13 +230,6 @@ namespace MWPhysics
|
||||
return direction - project(direction, planeNormal);
|
||||
}
|
||||
|
||||
static inline osg::Vec3f reflect(const osg::Vec3& velocity, const osg::Vec3f& normal)
|
||||
{
|
||||
return velocity - (normal * (normal * velocity)) * 2;
|
||||
// ^ dot product
|
||||
}
|
||||
|
||||
|
||||
public:
|
||||
static osg::Vec3f traceDown(const MWWorld::Ptr &ptr, const osg::Vec3f& position, Actor* actor, btCollisionWorld* collisionWorld, float maxHeight)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user