raylib-zig/lib/workaround/workaround.h
2020-05-08 19:06:04 +10:00

18 lines
457 B
C

// raylib-zig (c) Nikolas Wipper 2020
#ifndef RAYLIB_ZIG_WORKAROUND_H
#define RAYLIB_ZIG_WORKAROUND_H
#include <raylib.h>
#define VECTOR2 float x, float y
#define VECTOR3 float x, float y, float z
#define COLOR unsigned char r, unsigned char g, unsigned char b, unsigned char a
Ray WGetMouseRay(float mouseX, float mouseY, Camera camera);
void WDrawSphere(VECTOR3, float radius, COLOR);
void WDrawRay(Ray ray, COLOR);
#endif //RAYLIB_ZIG_WORKAROUND_H