I've got two files... sdl.h and ray.h.
Two classes, Vector3 and Point3 (+ a bunch more..) are defined in sdl.h.
One class, Ray is defined in ray.h. above the definition i put two forward...
Type: Posts; User: sloppy_coder
I've got two files... sdl.h and ray.h.
Two classes, Vector3 and Point3 (+ a bunch more..) are defined in sdl.h.
One class, Ray is defined in ray.h. above the definition i put two forward...
Wow you're touchy. fixed.
btw.
a couple of lines down i have more 'sloppy' code.
printf ("W = %f , H = %f , W/H = %f\n", W, BIG_H, screen_ratio);
same conversion character %f.. and the...
Im stumped...
Here is a small snippet of code:
float W = 640; //(float)SCREEN_WIDTH;
float BIG_H = 480; // (float)SCREEN_HEIGHT;
printf("BIG_H %d %f\n", BIG_H, BIG_H);