X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ecere%2Fsrc%2Fgfx%2F3D%2FMesh.ec;h=4cf04567801be3c57e40a99814d846ec0260b0e7;hb=1e20501fde4689ac092a7b354fefb3c80b0fda54;hp=efeed1ecc050fbeeb4530e71751ef8d0be778440;hpb=3020c1689e306b81df963f6f366712b4f4e73f1f;p=sdk diff --git a/ecere/src/gfx/3D/Mesh.ec b/ecere/src/gfx/3D/Mesh.ec index efeed1e..4cf0456 100644 --- a/ecere/src/gfx/3D/Mesh.ec +++ b/ecere/src/gfx/3D/Mesh.ec @@ -14,7 +14,14 @@ public enum RenderPrimitiveType : PrimitiveGroupType quads, quadStrip, lineStrip + + /* , + lineLoop, + lineStrip, + polygon + */ }; + public class MaterialFlags { public bool doubleSided:1, translucent:1, tile:1, noFog:1, singleSideLight:1; }; public class Material : struct { @@ -55,6 +62,30 @@ private: void * data; }; +/* +public class PrimitiveGroupIndices16 : PrimitiveGroup +{ + property Array indices + { + set { } + } +} + +public class PrimitiveGroupIndices32 : PrimitiveGroup +{ + property Array indices + { + set { } + } +} + +public class PrimitiveGroupVertexRange : PrimitiveGroup +{ + property int first { set { } } + property int nVertices { set { } } +} +*/ + public struct PrimitiveSingle { public: