diff mm7_5.cpp @ 1029:c94d6a37d298

Pointing a face with mouse fixed.
author Nomad
date Tue, 21 May 2013 12:10:08 +0200
parents 6afa77761a00
children f93d17337113 d3f4c6584ada
line wrap: on
line diff
--- a/mm7_5.cpp	Tue May 21 11:24:35 2013 +0200
+++ b/mm7_5.cpp	Tue May 21 12:10:08 2013 +0200
@@ -5371,7 +5371,7 @@
        sinf_x = sinf(3.14159265f * sRotX / 1024.0f),
        cosf_y = cosf(3.14159265f * sRotY / 1024.0f),
        sinf_y = sinf(3.14159265f * sRotY / 1024.0f);
- sDepth = 14000000;
+ //sDepth = 14000000;
  *outx = v.x + ((unsigned __int64)(sinf_y * (signed __int64)((unsigned __int64)(cosf_x * (signed __int64)sDepth)>> 16)));
  *outy = v.y + ((unsigned __int64)(cosf_y * (signed __int64)((unsigned __int64)(cosf_x * (signed __int64)sDepth)>> 16)));
  *outz = v.z + ((unsigned __int64)(sinf_x * (signed __int64)sDepth) >> 16);