Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Simox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Leander Singer
Simox
Commits
ff6b988f
Commit
ff6b988f
authored
5 years ago
by
Rainer Kartmann
Browse files
Options
Downloads
Patches
Plain Diff
Fix constness
parent
ab8bc149
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SimoxUtility/shapes/AxisAlignedBoundingBox.h
+4
-4
4 additions, 4 deletions
SimoxUtility/shapes/AxisAlignedBoundingBox.h
with
4 additions
and
4 deletions
SimoxUtility/shapes/AxisAlignedBoundingBox.h
+
4
−
4
View file @
ff6b988f
...
...
@@ -17,7 +17,7 @@ namespace simox
*/
struct
AxisAlignedBoundingBox
{
/// Construct an AABB centered at (0, 0, 0) with extents (0, 0, 0).
/// Construct an
empty
AABB centered at (0, 0, 0) with extents (0, 0, 0).
AxisAlignedBoundingBox
();
/// Construct an AABB with minimal and maximal values.
...
...
@@ -95,7 +95,7 @@ namespace simox
/// Indicates whether `point` is inside `*this`.
template
<
class
PointT
>
bool
is_inside
(
const
PointT
&
p
);
bool
is_inside
(
const
PointT
&
p
)
const
;
/// Expand `*this` (in-place) to include `point`.
template
<
class
PointT
>
...
...
@@ -117,7 +117,7 @@ namespace simox
private
:
/**
*
@brief
The limits structured as follows:
* The limits structured as follows:
*
* @code
* min max
...
...
@@ -159,7 +159,7 @@ namespace aabb
}
template
<
class
PointT
>
bool
AxisAlignedBoundingBox
::
is_inside
(
const
PointT
&
p
)
bool
AxisAlignedBoundingBox
::
is_inside
(
const
PointT
&
p
)
const
{
return
aabb
::
is_inside
(
*
this
,
p
);
}
...
...
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