overte-HifiExperiments/tests/physics/src/BulletUtilTests.h
Anthony J. Thibault ca8a832818 CharacterController: added hard limit to follow displacement
To prevent tunneling when the rigid body cannot reach it's target due to being blocked by a wall or some other obstacle.

Also, added unit tests for physics/BulletUtil rotateVector and clampLength functions.
2016-01-21 17:27:45 -08:00

27 lines
593 B
C++

//
// BulletUtilTests.h
// tests/physics/src
//
// Created by Andrew Meadows on 2014.11.02
// Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef hifi_BulletUtilTests_h
#define hifi_BulletUtilTests_h
#include <QtTest/QtTest>
class BulletUtilTests : public QObject {
Q_OBJECT
private slots:
void fromBulletToGLM();
void fromGLMToBullet();
void rotateVectorTest();
void clampLengthTest();
};
#endif // hifi_BulletUtilTests_h