Arena.CylinderSection.CylinderSection C# (CSharp) Method

CylinderSection() public method

public CylinderSection ( GraphicsInterface gi, float radius, float height, float arcDeg, int stacks, int slices, RectangleF textureShard ) : System
gi NewTOAPIA.GL.GraphicsInterface
radius float
height float
arcDeg float
stacks int
slices int
textureShard System.Drawing.RectangleF
return System
        public CylinderSection(GraphicsInterface gi, float radius, float height, float arcDeg, int stacks, int slices, RectangleF textureShard)
            : base(BeginMode.Triangles)
        {
            fRadius = radius;
            fHeight = height;
            fArcDegrees = arcDeg;
            fStacks = stacks;
            fSlices = slices;
            fTextureShard = textureShard;

            Triangulate();

            fUseNormals = true;
            fUseTexture = true;
        }
        #endregion

Same methods

CylinderSection::CylinderSection ( GraphicsInterface gi, float radius, float height, float arcDeg, int stacks, int slices ) : System