mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 04:53:25 +02:00
fixed some windows warnings
This commit is contained in:
parent
1eb5b3dda1
commit
1001ea5f87
1 changed files with 2 additions and 2 deletions
|
@ -1183,7 +1183,7 @@ void ShapeColliderTests::rayMissesCapsule() {
|
||||||
|
|
||||||
void ShapeColliderTests::rayHitsPlane() {
|
void ShapeColliderTests::rayHitsPlane() {
|
||||||
// make a simple plane
|
// make a simple plane
|
||||||
float planeDistanceFromOrigin = 3.579;
|
float planeDistanceFromOrigin = 3.579f;
|
||||||
glm::vec3 planePosition(0.0f, planeDistanceFromOrigin, 0.0f);
|
glm::vec3 planePosition(0.0f, planeDistanceFromOrigin, 0.0f);
|
||||||
PlaneShape plane;
|
PlaneShape plane;
|
||||||
plane.setTranslation(planePosition);
|
plane.setTranslation(planePosition);
|
||||||
|
@ -1228,7 +1228,7 @@ void ShapeColliderTests::rayHitsPlane() {
|
||||||
|
|
||||||
void ShapeColliderTests::rayMissesPlane() {
|
void ShapeColliderTests::rayMissesPlane() {
|
||||||
// make a simple plane
|
// make a simple plane
|
||||||
float planeDistanceFromOrigin = 3.579;
|
float planeDistanceFromOrigin = 3.579f;
|
||||||
glm::vec3 planePosition(0.0f, planeDistanceFromOrigin, 0.0f);
|
glm::vec3 planePosition(0.0f, planeDistanceFromOrigin, 0.0f);
|
||||||
PlaneShape plane;
|
PlaneShape plane;
|
||||||
plane.setTranslation(planePosition);
|
plane.setTranslation(planePosition);
|
||||||
|
|
Loading…
Reference in a new issue