History

trying to separate colors and vectors

SamGondelman committed 8 years ago

Commit 9b75c7e1 parent 673063541 files · +354 −225Browse files

Showing the changes to libraries/script-engine/src/ModelScriptingInterface.cpp (1 of 41 files). Show all

Unified · Split

libraries/script-engine/src/ModelScriptingInterface.cpp+1−1
@@ -192,7 +192,7 @@ QScriptValue ModelScriptingInterface::getVertex(MeshProxy* meshProxy, int vertex · 191 unmodified lines
192192 }
193193
194194 glm::vec3 pos = vertexBufferView.get<glm::vec3>(vertexIndex);
195− return vec3FloatToScriptValue(_modelScriptEngine, pos);
195+ return vec3ToScriptValue(_modelScriptEngine, pos);
196196 }
197197
198198