History

Update the cookies.js to be able to edit and test direction and color, validate that the SunDirection and color and on/off is working

Sam Gateau committed 11 years ago

Commit 687ca7f1 parent 11879f66 files · +291 −53Browse files

Showing the changes to libraries/script-engine/src/SceneScriptingInterface.h (1 of 6 files). Show all

Unified · Split

libraries/script-engine/src/SceneScriptingInterface.h+2−2
@@ -43,7 +43,7 @@ public: · 42 unmodified lines
4343
4444
4545 Q_INVOKABLE void setSunColor(const glm::vec3& color);
46− Q_INVOKABLE const glm::vec3& getSunColor() const;
46+ Q_INVOKABLE glm::vec3 getSunColor() const;
4747 Q_INVOKABLE void setSunIntensity(float intensity);
4848 Q_INVOKABLE float getSunIntensity() const;
4949 Q_INVOKABLE void setSunAmbientIntensity(float intensity);
@@ -52,7 +52,7 @@ public: · 2 unmodified lines
5252 // Only valid if stage Earth Sun model is disabled
5353 Q_INVOKABLE void setSunDirection(const glm::vec3& direction);
5454
55− Q_INVOKABLE const glm::vec3& getSunDirection() const;
55+ Q_INVOKABLE glm::vec3 getSunDirection() const;
5656
5757
5858

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