Advertisement
Guest User

Untitled

a guest
Jan 20th, 2015
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #ifndef _GRAPHICS_H_
  2. #define _GRAPHICS_H_
  3.  
  4. #include "road.h"
  5.  
  6. /* some basic types */
  7.  
  8. struct point_3d {
  9. int x;
  10. int y;
  11. int z;
  12. };
  13.  
  14. struct camera_t {
  15. struct point_3d pos;
  16. int depth;
  17. };
  18.  
  19. struct point_2d {
  20. int x;
  21. int y;
  22. int w;
  23. };
  24.  
  25. void render(struct camera_t *camera, struct road_segment *road, unsigned int road_length);
  26.  
  27. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement