|
|
"JWV" <jwv|at|planet.nl> killed the keyboard with:
> I made a simple macro to create rounded boxes, so you dont't have to
> fool around with slow superellipsoids. My RoundedBox renders in 1/3 (!)
> of the time of a superellipsoid. There are some drawbacks, but it might
> be usefull.
have a look at "shapes.inc"
especially
Round_Box_Union(PtA, PtB, EdgeRadius),
Round_Box_Merge(PtA, PtB, EdgeRadius) and
Round_Box(PtA, PtB, EdgeRadius, UseMerge)
HTH
Wolfgang
--
.-. This is Linux Country.
/v\ On a quiet night, you
/( )\ can hear Windows reboot.
^^ ^^ LFS-No.: 120
Post a reply to this message
|
|