Commit ff4ee63d57423ae5ea3d99ce1c86fdbaedac91ad
1 parent
518edf12
added comments for camera::push
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
stim/visualization/camera.h
@@ -63,6 +63,8 @@ public: | @@ -63,6 +63,8 @@ public: | ||
63 | p = p+direction; | 63 | p = p+direction; |
64 | } | 64 | } |
65 | void Dolly(float x, float y, float z){Dolly(vec3<float>(x, y, z));} | 65 | void Dolly(float x, float y, float z){Dolly(vec3<float>(x, y, z));} |
66 | + | ||
67 | + /// Push the camera along the view direction | ||
66 | void Push(float delta) | 68 | void Push(float delta) |
67 | { | 69 | { |
68 | if(delta > focus) | 70 | if(delta > focus) |