mario-kart-casio/src/3d.h

15 lines
411 B
C
Raw Normal View History

#ifndef _3D_H_
#define _3D_H_
2022-07-21 17:14:02 +02:00
#include <stdbool.h>
2022-06-28 13:00:03 +02:00
unsigned short getScreenPixel(unsigned short x, unsigned short y);
2022-12-01 18:24:09 +01:00
void screenToWorldSpace(int x, int y, int* worldX, int* worldY);
void worldToScreenSpace(int worldX, int worldY, int* x, int* y, int* dist);
2022-07-21 17:14:02 +02:00
void draw3D(bool highQuality);
2022-07-08 18:08:25 +02:00
extern int hFovModifier;
void draw3DLine(int x, int y, int dx, int dy/*, unsigned int* vramLine*/);
#endif // _3D_H_