From 6b3dfc7e16554a47be44084d0de422278aa3187f Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 4 Jan 2024 16:20:03 +0100 Subject: [PATCH] pgraph: add note to LensNode::is_in_view docstring about CS Closes panda3d/panda3d-docs#143 --- panda/src/pgraph/lensNode.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panda/src/pgraph/lensNode.cxx b/panda/src/pgraph/lensNode.cxx index 1b428d9e98..ae90f61c4b 100644 --- a/panda/src/pgraph/lensNode.cxx +++ b/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 - * 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:: is_in_view(int index, const LPoint3 &pos) {