Help save net neutrality! Learn more.
Close

Diff of /core/vpgl/vpgl_affine_camera.h [31e069] .. [58d77b]  Maximize  Restore

Switch to side-by-side view

--- a/core/vpgl/vpgl_affine_camera.h
+++ b/core/vpgl/vpgl_affine_camera.h
@@ -62,6 +62,9 @@
   void set_viewing_distance(T dist) {view_distance_ = dist;}
   T viewing_distance() const {return view_distance_;}
 
+  //: flip the ray direction so that dot product with look_dir is positive
+  void orient_ray_direction(vgl_vector_3d<T> const& look_dir);
+
   //: Equality test
   inline bool operator==(vpgl_affine_camera<T> const &that) const
   { return this == &that ||