Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Courses
Scotty3D
Commits
6476b883
Unverified
Commit
6476b883
authored
Sep 01, 2021
by
Max Slater
Committed by
GitHub
Sep 01, 2021
Browse files
Update particles.cpp
parent
5eb12946
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/student/particles.cpp
View file @
6476b883
...
...
@@ -10,10 +10,10 @@ bool Scene_Particles::Particle::update(const PT::Object& scene, float dt, float
// (1) Build a ray representing the particle's path if it travelled at constant velocity.
// (2) Intersect the ray with the scene and account for collisions. Be careful when plac
e
// collision points
based on
the particle radius. Move the particle to its next position.
// (2) Intersect the ray with the scene and account for collisions. Be careful when plac
ing
// collision points
using
the particle radius. Move the particle to its next position.
// (3) Account for acceleration.
// (3) Account for acceleration
due to gravity
.
// (4) Repeat until the entire time step has been consumed.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment