Skip to content

Commit

Permalink
update comment to mention todo version
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed May 14, 2024
1 parent ed0a033 commit 2947110
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions ogre2/src/Ogre2BoundingBoxCamera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,9 @@ void Ogre2BoundingBoxCamera::PreRender()
if (!this->dataPtr->ogreRenderTexture)
this->CreateBoundingBoxTexture();

// todo(iche03) Override BaseCamera::SetProjectionMatrix() function
// instead of checking and setting the custom projection matrix here
// todo(iche033) Override BaseCamera::SetProjectionMatrix() function in
// main / gz-rendering9 instead of checking and setting the custom
// projection matrix here
if (this->dataPtr->ogreCamera &&
this->projectionMatrix != gz::math::Matrix4d::Zero)
{
Expand Down
5 changes: 3 additions & 2 deletions ogre2/src/Ogre2DepthCamera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1057,8 +1057,9 @@ void Ogre2DepthCamera::PreRender()
if (!this->dataPtr->ogreCompositorWorkspace)
this->CreateWorkspaceInstance();

// todo(iche03) Override BaseCamera::SetProjectionMatrix() function
// instead of checking and setting the custom projection matrix here
// todo(iche033) Override BaseCamera::SetProjectionMatrix() function in
// main / gz-rendering9 instead of checking and setting the custom
// projection matrix here
if (this->ogreCamera &&
this->projectionMatrix != gz::math::Matrix4d::Zero)
{
Expand Down
5 changes: 3 additions & 2 deletions ogre2/src/Ogre2SegmentationCamera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,9 @@ void Ogre2SegmentationCamera::PreRender()
if (!this->dataPtr->ogreSegmentationTexture)
this->CreateSegmentationTexture();

// todo(iche03) Override BaseCamera::SetProjectionMatrix() function
// instead of checking and setting the custom projection matrix here
// todo(iche033) Override BaseCamera::SetProjectionMatrix() function in
// main / gz-rendering9 instead of checking and setting the custom
// projection matrix here
if (this->ogreCamera &&
this->projectionMatrix != gz::math::Matrix4d::Zero)
{
Expand Down
5 changes: 3 additions & 2 deletions ogre2/src/Ogre2ThermalCamera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1132,8 +1132,9 @@ void Ogre2ThermalCamera::PreRender()
if (!this->dataPtr->ogreThermalTexture)
this->CreateThermalTexture();

// todo(iche03) Override BaseCamera::SetProjectionMatrix() function
// instead of checking and setting the custom projection matrix here
// todo(iche033) Override BaseCamera::SetProjectionMatrix() function in
// main / gz-rendering9 instead of checking and setting the custom
// projection matrix here
if (this->ogreCamera &&
this->projectionMatrix != gz::math::Matrix4d::Zero)
{
Expand Down

0 comments on commit 2947110

Please sign in to comment.