forked from teamnwah/openmw-tes3coop
Remove unused function
This commit is contained in:
parent
60a2625b89
commit
e87d2aa1af
1 changed files with 0 additions and 7 deletions
|
@ -230,13 +230,6 @@ namespace MWPhysics
|
||||||
return direction - project(direction, planeNormal);
|
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:
|
public:
|
||||||
static osg::Vec3f traceDown(const MWWorld::Ptr &ptr, const osg::Vec3f& position, Actor* actor, btCollisionWorld* collisionWorld, float maxHeight)
|
static osg::Vec3f traceDown(const MWWorld::Ptr &ptr, const osg::Vec3f& position, Actor* actor, btCollisionWorld* collisionWorld, float maxHeight)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue