summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FGServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'FaceTrackNoIR/FGServer.h')
-rw-r--r--FaceTrackNoIR/FGServer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/FaceTrackNoIR/FGServer.h b/FaceTrackNoIR/FGServer.h
index 0df2eb1d..bd849c80 100644
--- a/FaceTrackNoIR/FGServer.h
+++ b/FaceTrackNoIR/FGServer.h
@@ -86,9 +86,9 @@ public:
void setVirtRotX(float rot) { virtRotX = rot; }
void setVirtRotY(float rot) { virtRotY = rot; }
void setVirtRotZ(float rot) { virtRotZ = rot; }
- void setVirtPosX(float pos) { virtPosX = pos; }
- void setVirtPosY(float pos) { virtPosY = pos; }
- void setVirtPosZ(float pos) { virtPosZ = pos; }
+ void setVirtPosX(float pos) { virtPosX = pos / 100.0f; }
+ void setVirtPosY(float pos) { virtPosY = pos / 100.0f; }
+ void setVirtPosZ(float pos) { virtPosZ = pos / 100.0f; }
};