Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments for raylib camera projection options are inaccurate #4865

Open
steinarb1234 opened this issue Feb 22, 2025 · 0 comments
Open

Comments for raylib camera projection options are inaccurate #4865

steinarb1234 opened this issue Feb 22, 2025 · 0 comments

Comments

@steinarb1234
Copy link

The projection part of raylib Camera3D says the options are CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC, but the actual options are PERSPECTIVE or ORTHOGRAPHIC. Please change the below comment behind projection to reflect the real options:

Camera3D :: struct {
	position: Vector3,            // Camera position
	target:   Vector3,            // Camera target it looks-at
	up:       Vector3,            // Camera up vector (rotation over its axis)
	fovy:     f32,                // Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic
	projection: CameraProjection, // Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant