feat: render with depth checking

This commit is contained in:
alphafetus committed 2026-05-14 15:32:14 -04:00
1 parent a1aea8e2a5
commit 14fb61a4d5
5 files changed
+156 -111

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ impl Camera {
extents: impl Into<Vector2<u32>>
) -> Self {
let extents = extents.into();
let position = Vector3::new(-10.0, 10.0, -10.0);
let position = Vector3::new(-7.0, 7.0, -7.0);
let target = Vector3::zeros();
// Traveling along this vector moves us toward the target.