Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
But 1 Semestre 2
SAE Particule
Commits
f9d41712
Commit
f9d41712
authored
Jan 15, 2022
by
Rennarde
Browse files
Comment out some unused stuff
parent
c1eb787f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Extension/LifeCycle/lifecycle.go
View file @
f9d41712
package
lifeycycle
import
(
"project-particles/config"
//
"project-particles/config"
"project-particles/particles"
)
func
Life
(
Part
*
Particle
)
{
*
Part
.
Life
=
*
Part
.
Life
-
1
if
Part
.
Life
<
0
{
Part
.
Overflow
=
true
if
*
Part
.
Life
<
0
{
*
Part
.
Overflow
=
true
}
}
// func BrightDown(Part ) (float64) {
// r = (1-r)*(1)
// }
\ No newline at end of file
}
\ No newline at end of file
Write
Preview
Supports
Markdown
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