CAutomobile::ProcessControl done

This commit is contained in:
aap committed 2019-07-18 15:41:09 +02:00
1 parent 82be466013
commit fd01f9b25c
12 files changed
+239 -11

No files matched your search

+1
View File
@@ -22,6 +22,7 @@ public:
return *((RwV3d*)this);
}
#endif
// (0,1,0) means no rotation. So get right vector and its atan
float Heading(void) const { return Atan2(-x, y); }
float Magnitude(void) const { return Sqrt(x*x + y*y + z*z); }
float MagnitudeSqr(void) const { return x*x + y*y + z*z; }