-
vec3_t
All throughout the source code of every ID software game, I see large amounts of references to a data type called vec3_t. I have searched through every single source file and cannot find the definition of this data type ANYWHERE. Does ANYONE know what this is?
-
In quake if I remember correctly it's to do with camera angles.
Code:
typedef float vec_t;
typedef vec_t[3] vec3_t;
vec_3t: "3 angles that describe the camera viewing direction in Quake and other games."
A block structure from the code of Quake...
Code:
typedef struct {
long blocksize;
vec3_t angles;
char[blocksize] messages;
} block_t;
I'm not sure if this is of any use?
-Pendragon