Is there a simple way to draw a rectangular prism?
Is there a simple way to draw a rectangular prism?
Is there some sort of built in function to create a SceneNode of a rectangular prism, or would I need to create a function that does that with triangles?
Re: Is there a simple way to draw a rectangular prism?
If it is a regular rectangular prism (box), just scale a cube.
Re: Is there a simple way to draw a rectangular prism?
Thank you for your help. I feel a bit stupid for not immediately thinking of that. For anyone who doesn't know how to do that, it's this in Irrlicht:
and this in IrrlichtLime:
Intellisense should show you what you need to reposition and transform the cube (assuming C++'s IS is as good as C#'s).
Code: Select all
scene::ISceneNode* n = smgr->addCubeSceneNode();
Code: Select all
SceneNode n = smgr.AddCubeSceneNode();