mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 17:03:43 +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() {
|
||||
// make a simple plane
|
||||
float planeDistanceFromOrigin = 3.579;
|
||||
float planeDistanceFromOrigin = 3.579f;
|
||||
glm::vec3 planePosition(0.0f, planeDistanceFromOrigin, 0.0f);
|
||||
PlaneShape plane;
|
||||
plane.setTranslation(planePosition);
|
||||
|
@ -1228,7 +1228,7 @@ void ShapeColliderTests::rayHitsPlane() {
|
|||
|
||||
void ShapeColliderTests::rayMissesPlane() {
|
||||
// make a simple plane
|
||||
float planeDistanceFromOrigin = 3.579;
|
||||
float planeDistanceFromOrigin = 3.579f;
|
||||
glm::vec3 planePosition(0.0f, planeDistanceFromOrigin, 0.0f);
|
||||
PlaneShape plane;
|
||||
plane.setTranslation(planePosition);
|
||||
|
|
Loading…
Reference in a new issue