Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
tome
Tales of MajEyal
Commits
2fdf259b
Commit
2fdf259b
authored
9 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
save flip state
parent
e52a232e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/engines/default/engine/Entity.lua
+2
-0
2 additions, 0 deletions
game/engines/default/engine/Entity.lua
game/engines/default/engine/Particles.lua
+1
-1
1 addition, 1 deletion
game/engines/default/engine/Particles.lua
with
3 additions
and
1 deletion
game/engines/default/engine/Entity.lua
+
2
−
0
View file @
2fdf259b
...
...
@@ -593,6 +593,7 @@ end
function
_M
:
MOflipX
(
v
)
if
not
self
.
_mo
then
return
end
self
.
_mo
:
flipX
(
v
)
self
.
_flipx
=
v
if
not
self
.
add_displays
then
return
end
...
...
@@ -608,6 +609,7 @@ end
function
_M
:
MOflipY
(
v
)
if
not
self
.
_mo
then
return
end
self
.
_mo
:
flipY
(
v
)
self
.
_flipy
=
v
if
not
self
.
add_displays
then
return
end
...
...
This diff is collapsed.
Click to expand it.
game/engines/default/engine/Particles.lua
+
1
−
1
View file @
2fdf259b
...
...
@@ -29,7 +29,7 @@ setmetatable(__particles_gl, {__mode="v"})
--- Make a particle emitter
function
_M
:
init
(
def
,
radius
,
args
,
shader
)
self
.
args
=
args
self
.
args
=
args
or
{}
self
.
def
=
def
self
.
radius
=
radius
or
1
self
.
shader
=
shader
...
...
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