From 64b645799be4c67900a793685d460deeecf632b5 Mon Sep 17 00:00:00 2001 From: David Doan Date: Wed, 13 Dec 2023 02:06:35 -0500 Subject: attempting camera movement --- src/camera/camera.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/camera') diff --git a/src/camera/camera.cpp b/src/camera/camera.cpp index 9e8aef2..5097b6c 100644 --- a/src/camera/camera.cpp +++ b/src/camera/camera.cpp @@ -60,25 +60,3 @@ float Camera::getAperture() const { return m_aperture; } -// int getPt(glm::vec3 n1 , glm::vec3 n2 , float perc ) -// { -// int diff = n2 - n1; - -// return n1 + ( diff * perc ); -// } - -// for( float i = 0 ; i < 1 ; i += 0.01 ) -// { -// glm::vec3 xa = getPt(P1, P2, i); -// glm::vec3 xb = getPt(P2, P3, i); -// glm::vec3 xc = getPt(P3, P4, i); - -// // Calculate points on the lines between the above points -// glm::vec3 xm = getPt(xa, xb, i); -// glm::vec3 xn = getPt(xb, xc, i); - -// // Calculate the final point on the Bezier curve -// glm::vec3 pointOnCurve = getPt(xm, xn, i); - - -// } \ No newline at end of file -- cgit v1.2.3-70-g09d2