Showing the changes to libraries/script-engine/src/SpatialEvent.cpp (1 of 41 files). Show all
Unified · Split
| @@ -33,9 +33,9 @@ SpatialEvent::SpatialEvent(const SpatialEvent& event) { · 32 unmodified lines | ||
| 33 | 33 | QScriptValue SpatialEvent::toScriptValue(QScriptEngine* engine, const SpatialEvent& event) { |
| 34 | 34 | QScriptValue obj = engine->newObject(); |
| 35 | 35 | |
| 36 | − obj.setProperty("locTranslation", vec3FloatToScriptValue(engine, event.locTranslation) ); | |
| 36 | + obj.setProperty("locTranslation", vec3ToScriptValue(engine, event.locTranslation) ); | |
| 37 | 37 | obj.setProperty("locRotation", quatToScriptValue(engine, event.locRotation) ); |
| 38 | − obj.setProperty("absTranslation", vec3FloatToScriptValue(engine, event.absTranslation) ); | |
| 38 | + obj.setProperty("absTranslation", vec3ToScriptValue(engine, event.absTranslation) ); | |
| 39 | 39 | obj.setProperty("absRotation", quatToScriptValue(engine, event.absRotation) ); |
| 40 | 40 | |
| 41 | 41 | return obj; |