Search:

Type: Posts; User: sloppy_coder

Search: Search took 0.00 seconds.

  1. yet another forward declaration problem.

    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...
  2. Replies
    3
    Views
    903

    Wow you're touchy. fixed. btw. a couple of...

    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...
  3. Replies
    3
    Views
    903

    Help, weird problem setting variable

    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);
Results 1 to 3 of 3