Just wondering.
I want to make radar like stuff in my project and had a look at http://www.ownedcore.com/forums/worl...116-32bit.html (3D WoW Radar for 6.03.19116 32bit)
What I do not understand is why coordinates are read here as Z - X - Y
Code:
typedef struct WoWPosition{
float z;
float x;
float y;
char blank[4];
float angle;
} WoWPosition;
typedef struct WoWCamera{
float z;
float x;
float y;
float zAngle;
float xAngle;
float yAngle;
} WoWCamera
case WOW_UNIT:;
Mem_ReadToBuff(objAddress+WOW_UNITPOSOFFSET,&obj->pos,sizeof(WoWPosition));
break;
case WOW_OBJ:;
Mem_ReadToBuff(objAddress+WOW_OBJPOSOFFSET,&obj->pos,sizeof(WoWPosition));
break;
}
While I always thought they were stored in X - Y - Z format.
Anyone willing to explain?
Thanks