mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-06 02:00:25 +02:00
createTorusMesh can now create a partial torus
Capping the torus also supported. Bit arguably if caps belong in this function, but default for caps is off and they can be useful. (one could also code partial minor circles ... but I'm stopping there) git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6225 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@ -52,7 +52,8 @@ public:
|
||||
f32 oblique=0.f) const _IRR_OVERRIDE_;
|
||||
|
||||
virtual IMesh* createTorusMesh(f32 majorRadius, f32 minorRadius,
|
||||
u32 majorSegments, u32 minorSegments) const _IRR_OVERRIDE_;
|
||||
u32 majorSegments, u32 minorSegments,
|
||||
f32 angleStart, f32 angleEnd, int capEnds) const _IRR_OVERRIDE_;
|
||||
|
||||
virtual IMesh* createVolumeLightMesh(
|
||||
const u32 subdivideU=32, const u32 subdivideV=32,
|
||||
|
Reference in New Issue
Block a user