Comitting incase I break something
This commit is contained in:
1 parent
35b85529e9
commit
3b0ef97f89
7 files changed
+46
-1
No files matched your search
@@ -64,6 +64,10 @@ void SceneItemGenerator::generate(
|
||||
line(initBody, name + "->transform.setLocalScale(" + item->scale + ");", "");
|
||||
}
|
||||
|
||||
if(item->lookAtPosition.size() > 0) {
|
||||
line(initBody, name + "->transform.lookAt(" + item->lookAtPosition + ", " + item->lookAtTarget + ");", "");
|
||||
}
|
||||
|
||||
// Add assets
|
||||
auto itAssets = item->assets.begin();
|
||||
while(itAssets != item->assets.end()) {
|
||||
|
||||
Reference in new issue
Block a user