Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenFlipper
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenFlipper-Free
OpenFlipper
Commits
286625de
Commit
286625de
authored
2 years ago
by
Zain Selman
Browse files
Options
Downloads
Patches
Plain Diff
bounding box computation is now const correct
parent
fb111f38
No related branches found
No related tags found
1 merge request
!249
bounding box computation is now const correct
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/BaseObjectData.cc
+1
-1
1 addition, 1 deletion
common/BaseObjectData.cc
common/BaseObjectData.hh
+1
-1
1 addition, 1 deletion
common/BaseObjectData.hh
with
2 additions
and
2 deletions
common/BaseObjectData.cc
+
1
−
1
View file @
286625de
...
...
@@ -284,7 +284,7 @@ void BaseObjectData::manipPlaced( bool _placed ) {
manipPlaced_
=
_placed
;
}
void
BaseObjectData
::
getBoundingBox
(
ACG
::
Vec3d
&
bbmin
,
ACG
::
Vec3d
&
bbmax
){
void
BaseObjectData
::
getBoundingBox
(
ACG
::
Vec3d
&
bbmin
,
ACG
::
Vec3d
&
bbmax
)
const
{
// Single pass action, as the bounding box is not influenced by multipass traversal
ACG
::
SceneGraph
::
BoundingBoxAction
act
;
...
...
This diff is collapsed.
Click to expand it.
common/BaseObjectData.hh
+
1
−
1
View file @
286625de
...
...
@@ -207,7 +207,7 @@ class DLLEXPORT BaseObjectData : public BaseObject
void
manipPlaced
(
bool
_placed
);
/// get the bounding box of the object
void
getBoundingBox
(
ACG
::
Vec3d
&
bbmin
,
ACG
::
Vec3d
&
bbmax
);
void
getBoundingBox
(
ACG
::
Vec3d
&
bbmin
,
ACG
::
Vec3d
&
bbmax
)
const
;
/** \brief Set the draw mode for the object
* @param _mode The draw mode that should be active for this object
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment