Example #1
0
 public CCQuad2()
 {
     TopLeft     = new CCVertex2F();
     TopRight    = new CCVertex2F();
     BottomLeft  = new CCVertex2F();
     BottomRight = new CCVertex2F();
 }
Example #2
0
 public CCV2F_C4F_T2F()
 {
     Vertices = new CCVertex2F();
     Colors = new CCColor4F();
     TexCoords = new CCTex2F();
 }
Example #3
0
 public static CCVertex2F Vertex2(float x, float y)
 {
     CCVertex2F c = new CCVertex2F(x, y);
     return c;
 }
Example #4
0
 public CCQuad2()
 {
     TopLeft = new CCVertex2F();
     TopRight = new CCVertex2F();
     BottomLeft = new CCVertex2F();
     BottomRight = new CCVertex2F();
 }
Example #5
0
        public float Size; // 4 bytes

        #endregion Fields

        #region Constructors

        public CCPointSprite()
        {
            Position = new CCVertex2F();
            Color = new CCColor4B();
            Size = 0.0f;
        }
Example #6
0
        public static CCVertex2F Vertex2(float x, float y)
        {
            CCVertex2F c = new CCVertex2F(x, y);

            return(c);
        }
Example #7
0
 public CCV2F_C4F_T2F()
 {
     Vertices  = new CCVertex2F();
     Colors    = new CCColor4F();
     TexCoords = new CCTex2F();
 }
Example #8
0
 public CCPointSprite()
 {
     Position = new CCVertex2F();
     Color    = new CCColor4B();
     Size     = 0.0f;
 }