Class cc.vertex2
cc.Vertex2F
- Defined in: CCTypes.js
Constructor Attributes | Constructor Name and Description |
---|---|
cc.vertex2(x, y)
Helper macro that creates an Vertex2F type composed of 2 floats: x, y
|
Class Detail
cc.vertex2(x, y)
Helper macro that creates an Vertex2F type composed of 2 floats: x, y
- Parameters:
- {Number} x
- {Number} y
- Returns:
- {cc.Vertex2F}