Fixup for rl 3.7

This commit is contained in:
Not-Nik 2021-11-28 14:07:22 +01:00
parent a8d8d4b9bc
commit 004388133b
Failed to generate hash of commit
7 changed files with 23 additions and 24 deletions

View file

@ -23,7 +23,7 @@ pub fn main() anyerror!void {
.target = Vector3{ .x = 0.0, .y = 10.0, .z = 0.0 }, // Camera looking at point
.up = Vector3{ .x = 0.0, .y = 1.0, .z = 0.0 }, // Camera up vector (rotation towards target)
.fovy = 45.0, // Camera field-of-view Y
.type = CameraType.CAMERA_PERSPECTIVE, // Camera mode type
.projection = CameraProjection.CAMERA_PERSPECTIVE, // Camera mode type
};
var model = LoadModel(resourceDir ++ "models/castle.obj"); // Load model