Initializer for a new spatial

This commit is contained in:
Dane Johnson committed 2021-01-23 13:03:22 -06:00
1 parent 59da3c088f
commit 0bc3a89e66
2 files changed
+14 -5

No files matched your search

+6
View File
@@ -40,6 +40,12 @@ public:
}
%ignore "Vector3";
%extend Spatial {
static Spatial* script_new() {
return new Spatial();
}
}
%extend DirectionalLight {
static DirectionalLight* script_new() {
return new DirectionalLight();