Merge pull request #30 from AlxHnr/devel

Add missing type definitions to raymath
This commit is contained in:
Nikolas 2023-01-02 22:14:56 +01:00 committed by GitHub
commit c5e584ccf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,14 @@ const Quaternion = rl.Quaternion;
const Vector2 = rl.Vector2;
const Vector3 = rl.Vector3;
const Vector4 = rl.Vector4;
const float16 = rl.float16;
const float3 = rl.float3;
pub const float3 = extern struct {
v: [3]f32,
};
pub const float16 = extern struct {
v: [16]f32,
};
pub extern fn Clamp(value: f32, min: f32, max: f32) f32;
pub extern fn Lerp(start: f32, end: f32, amount: f32) f32;