de.jreality.geometry.Primitives method Sphere

Found a bug? Post here.
Post Reply
jay
Posts: 1
Joined: Mon 9. May 2011, 11:43
Location: Berlin

de.jreality.geometry.Primitives method Sphere

Post by jay » Mon 9. May 2011, 11:48

Hey,
in de.jreality.geometry.Primitives the static methods 'Sphere' seems to be wrong documented. It should take the radius, but it seems to to take diameter.
Can somebody confirm that?

Thanks!

sechel
Posts: 69
Joined: Tue 2. Oct 2007, 09:20

Re: de.jreality.geometry.Primitives method Sphere

Post by sechel » Thu 12. May 2011, 12:56

The geometry is always a sphere with radius 1. It is scaled to the value that is given by the parameter radius by a transformation in the scene graph.

Post Reply