mirror of
https://github.com/raylib-zig/raylib-zig.git
synced 2026-02-16 06:18:02 +00:00
18 lines
457 B
C
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
|