summaryrefslogtreecommitdiff
path: root/engine/src/camera.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-11-28 20:41:25 +0100
committerHampusM <hampus@hampusmat.com>2023-11-28 20:41:25 +0100
commitb536154f912b1f35a548acebc2f6d7fff171e806 (patch)
treedfba57743c2f9fc53cdb84e0544801195b9252ac /engine/src/camera.rs
parent52c9ca106895f3e69000636fc6ef1ba18a486f69 (diff)
chore(engine): rename the Camera method up to global_up
Diffstat (limited to 'engine/src/camera.rs')
-rw-r--r--engine/src/camera.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/src/camera.rs b/engine/src/camera.rs
index 1bae5bb..7abb9af 100644
--- a/engine/src/camera.rs
+++ b/engine/src/camera.rs
@@ -12,7 +12,7 @@ pub trait Camera
///
/// The default implementation which returns [`Vec3::UP`] should be fine in most
/// cases.
- fn up(&self) -> Vec3<f32>
+ fn global_up(&self) -> Vec3<f32>
{
Vec3::UP
}