[Implemented] CreateMeshPrimitives

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

[Implemented] CreateMeshPrimitives

Post by Rings »

could be very handy to generate some primitive Meshes
with just one Command.
so

CreateMeshPrimitives(#Mesh, Type,Size1,Size2,Size3)

where Type=

#PB_MESH_Plain
#PB_MESH_Box
#PB_MESH_Cube
#PB_MESH_Sphere
#PB_MESH_CONE
#PB_MESH_CYLINDER
#PB_MESH_TRIANGLE


Could be a something like CreateMesh&SetMeshdata in one Command
(Hint: Darkbasic has similar )
SPAMINATOR NR.1