diff options
author | David Doan <daviddoan@Davids-MacBook-Pro-193.local> | 2023-12-13 02:06:35 -0500 |
---|---|---|
committer | David Doan <daviddoan@Davids-MacBook-Pro-193.local> | 2023-12-13 02:06:35 -0500 |
commit | 64b645799be4c67900a793685d460deeecf632b5 (patch) | |
tree | 796574c714af972a526a24ce3d2851ee33f9f3ec /src/camera/camera.cpp | |
parent | 8afef246ac0d7adf03eae794fc1ba5ba25f64dd8 (diff) |
attempting camera movement
Diffstat (limited to 'src/camera/camera.cpp')
-rw-r--r-- | src/camera/camera.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
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 |