[FIXED] error C2065: 'GE_PIOVER180' : undeclared identifier

Post any Bug Reports here
Post Reply
beginer
Posts: 1
Joined: Sun Nov 19, 2006 2:39 am

[FIXED] error C2065: 'GE_PIOVER180' : undeclared identifier

Post by beginer »

Dear the author of the engine:

I am a beginer of the engine.

I download the source code and complie it with vc6.0,

there are many problems as:

--------------------------------------
ource\cweapon.cpp(839) : error C2065: 'GE_PIOVER180' : undeclared identifier

rf075bsource\source\cweapon.cpp(871) : error C2065: 'GE_PIOVER2' : undeclared identifier

-------------------------------

would like to help me that?

regards!

Mike 11,19
User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Post by QuestOfDreams »

I'm keeping to forget to update the genesis source/include these files in the new RF source

in basetypes.h add

Code: Select all

#define GE_2PI               ((geFloat)6.28318530717958647693f) 
#define GE_PIOVER2            ((geFloat)1.57079632679489661923f) 
#define GE_1OVERPI            ((geFloat)0.31830988618379067154f) 
#define GE_1OVER2PI            ((geFloat)0.15915494309189533577f) 
#define GE_180OVERPI         ((geFloat)57.2957795130823208768f) 
#define GE_360OVER2PI         GE_180OVERPI 
#define GE_PIOVER180         ((geFloat)0.01745329251994329577f) 
#define GE_2PIOVER360         GE_PIOVER180 
Post Reply