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

        #endregion Fields

        #region Constructors

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

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