This function creates a new model consisting of a single rectangle.
Parameter | Description |
---|---|
world | world to create the model in |
width, height | plane dimensions |
xsegs, ysegs | mesh subdivision |
type | can be MESH_TRIANGLES or MESH_QUADS |
Returns a new model.