ecere/gfx/3D/meshes: Fixes for Object classes
authorJerome St-Louis <jerome@ecere.com>
Sat, 16 Jan 2016 07:01:05 +0000 (02:01 -0500)
committerJerome St-Louis <jerome@ecere.com>
Sat, 2 Jul 2016 20:41:07 +0000 (16:41 -0400)
- class / class:struct confusion with indirect import through "Display",
  importing "Object" directly

ecere/src/gfx/3D/meshes/Cube.ec
ecere/src/gfx/3D/meshes/SkyBox.ec
ecere/src/gfx/3D/meshes/Sphere.ec

index 4f898fd..845444e 100644 (file)
@@ -9,6 +9,7 @@ namespace gfx3D::meshes;
    cube.ec - Translucent Cube 3D Model
 ****************************************************************************/
 import "Display"
+import "Object"   // TOFIX: If this is not here, Cube/Object gets registered as a 'class' rather than class 'struct'
 
 public class Cube : Object
 {
index 2e95ff8..984cdaf 100644 (file)
@@ -9,6 +9,7 @@ namespace gfx3D::meshes;
    skybox.ec - SkyBox 3D Model
 ****************************************************************************/
 import "Display"
+import "Object" // TOFIX: If this is not here, Cube/Object gets registered as a 'class' rather than class 'struct'
 
 static const char * faceNames[] = { "up", "fr", "dn", "bk", "rt", "lf" };
 
index 97a822f..0c554c3 100644 (file)
@@ -1,6 +1,7 @@
 namespace gfx3D::meshes;
 
 import "Display"
+import "Object" // TOFIX: If this is not here, Cube/Object gets registered as a 'class' rather than class 'struct'
 
 public class Sphere : Object
 {