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/SpatialEvent.cpp (1 of 41 files). Show all

Unified · Split

libraries/script-engine/src/SpatialEvent.cpp+2−2
@@ -33,9 +33,9 @@ SpatialEvent::SpatialEvent(const SpatialEvent& event) { · 32 unmodified lines
3333 QScriptValue SpatialEvent::toScriptValue(QScriptEngine* engine, const SpatialEvent& event) {
3434 QScriptValue obj = engine->newObject();
3535
36− obj.setProperty("locTranslation", vec3FloatToScriptValue(engine, event.locTranslation) );
36+ obj.setProperty("locTranslation", vec3ToScriptValue(engine, event.locTranslation) );
3737 obj.setProperty("locRotation", quatToScriptValue(engine, event.locRotation) );
38− obj.setProperty("absTranslation", vec3FloatToScriptValue(engine, event.absTranslation) );
38+ obj.setProperty("absTranslation", vec3ToScriptValue(engine, event.absTranslation) );
3939 obj.setProperty("absRotation", quatToScriptValue(engine, event.absRotation) );
4040
4141 return obj;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t