Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rlExtrasC/FreeCamC.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void FreeCam_LookAt(FreeCamera* camera, Vector3 target, Vector3 up)
// called to set where the camera is
void FreeCam_SetPosition(FreeCamera* camera, Vector3 position)
{
camera->Position = camera->Position;
camera->Position = position;
}

// Called to move the camera relative to it's current orientation
Expand Down Expand Up @@ -123,4 +123,4 @@ void FreeCam_RotateHeading(FreeCamera* camera, float angle, bool useY)

camera->Up = Vector3Normalize(Vector3Transform(camera->Up, matrix));
camera->Forward = Vector3Normalize(Vector3Transform(camera->Forward, matrix));
}
}