dgame v0.4.1 (2015-02-22T14:21:21Z)
Home
Dub
Repo
Shape.make
Dgame
Graphics
Shape
Shape
Make a new Shape object with the given type and vertices.
Shape
make
(Type type, float[] mat)
Shape
make
(Type type, Vertex[] vertices)
class
Shape
final static
Shape
make
(
Type
type
,
const
Vertex
[]
vertices
)
Meta
Source
See Implementation
Dgame
Graphics
Shape
Shape
constructors
this
enums
Type
functions
_render
_updateTexCoords
append
bindTexture
calculateCenter
fetchTextureRect
fetchVertexAt
fill
forceUpdate
getBlend
getLineWidth
getSmooth
getType
getVertexAt
getVertices
isFilled
remove
setBlend
setColor
setLineWidth
setSmooth
setTextureRect
setType
static functions
make
makeCircle
variables
_blend
_isFilled
_lineWidth
_needUpdate
_smooth
_tex
_texRect
_type
_vertices
Make a new Shape object with the given type and vertices.