org.rajawali3d.primitives / NPrism

NPrism

open class NPrism : Object3D
open class NPrism : Object3D

Basic primitive allowing for the creation of an n-sided regular polygonal cone, as a frustum or to a point with a specified slant angle or aspect ratio. The cone is created about the positive y axis with the vanishing point at (0, height, 0). NOTE: This still needs a lot of work. Texture coordinates are not correct.

Author
Jared Woolston (jwoolston@tenkiv.com)