Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
age-collisions-tutorials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
gamedev
age
tutorials
Physics
age-collisions-tutorials
Commits
83f942f5
There was an error fetching the commit references. Please try again later.
Commit
83f942f5
authored
3 months ago
by
Michal Petr
Browse files
Options
Downloads
Patches
Plain Diff
refactor: Removed unused variable
parent
488d7472
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/tut_collisions/src/presenter.cpp
+1
-1
1 addition, 1 deletion
src/tut_collisions/src/presenter.cpp
with
1 addition
and
1 deletion
src/tut_collisions/src/presenter.cpp
+
1
−
1
View file @
83f942f5
...
@@ -153,7 +153,7 @@ namespace tut_collisions {
...
@@ -153,7 +153,7 @@ namespace tut_collisions {
if
(
m_is_sim_running
)
{
if
(
m_is_sim_running
)
{
// Feel free to swap between the algorithms to see how they affect the performance of the simulation and
// Feel free to swap between the algorithms to see how they affect the performance of the simulation and
// how they act in different scenarios.
// how they act in different scenarios.
const
auto
collision_file
=
phx
::
collision_system
()
->
detect_collisions
(
m_world
,
phx
::
BroadPhaseType
::
SweepAndPrune
,
phx
::
NarrowPhaseType
::
GJK
);
phx
::
collision_system
()
->
detect_collisions
(
m_world
,
phx
::
BroadPhaseType
::
SweepAndPrune
,
phx
::
NarrowPhaseType
::
GJK
);
}
}
// If you run the simulation now, you can enable the AABB's by pressing F2, where you'll see the AABB's changing
// If you run the simulation now, you can enable the AABB's by pressing F2, where you'll see the AABB's changing
...
...
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