Commit 518258d3e40f475787ae883edcd70eee9a4b7bca
1 parent
acc30a5e
minor bug fixes
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
stim/visualization/glObj.h
@@ -106,11 +106,12 @@ public: | @@ -106,11 +106,12 @@ public: | ||
106 | // glPushMatrix(); | 106 | // glPushMatrix(); |
107 | } | 107 | } |
108 | 108 | ||
109 | - createFromSelf(GLenum mode = GL_RENDER, bool blend = false, stim::vec3<float> point) | 109 | + void |
110 | + createFromSelf(stim::vec3<float> point, GLenum mode = GL_RENDER) | ||
110 | { | 111 | { |
111 | // glPopMatrix(); | 112 | // glPopMatrix(); |
112 | init(); | 113 | init(); |
113 | - Create(mode, blend, 1.0, point); | 114 | + Create(mode, true, 1.0, point); |
114 | // glPushMatrix(); | 115 | // glPushMatrix(); |
115 | } | 116 | } |
116 | 117 |