Browse Source

pgraph: add note to LensNode::is_in_view docstring about CS

Closes panda3d/panda3d-docs#143
rdb 1 year ago
parent
commit
6b3dfc7e16
1 changed files with 2 additions and 1 deletions
  1. 2 1
      panda/src/pgraph/lensNode.cxx

+ 2 - 1
panda/src/pgraph/lensNode.cxx

@@ -119,7 +119,8 @@ set_lens_active(int index, bool flag) {
 
 
 /**
 /**
  * Returns true if the given point is within the bounds of the lens of the
  * Returns true if the given point is within the bounds of the lens of the
- * LensNode (i.e.  if the camera can see the point).
+ * LensNode (i.e.  if the camera can see the point).  The point is assumed to
+ * be relative to the LensNode itself.
  */
  */
 bool LensNode::
 bool LensNode::
 is_in_view(int index, const LPoint3 &pos) {
 is_in_view(int index, const LPoint3 &pos) {