Allow changing the fov and render distance
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 4m30s

This commit is contained in:
2024-08-06 12:31:44 -04:00
parent c2446763ad
commit 91baa826fa
3 changed files with 57 additions and 19 deletions

View File

@@ -200,6 +200,9 @@ namespace JGL {
/// Drawing functions for primitive 3D Shapes.
namespace J3D {
void Init(const Vector2& window_size, float fov, float far_plane);
void ChangeFOV(float fov);
void ChangeFarPlane(float far_plane);
void Begin();
void End();
void SetMatrix(const std::vector<GLfloat>& matrix, const Vector2& window_size);