java 3d how to exchange parts of box with cone

Hi! I got 2 Primitive in my scene, Box and Cone. I would like to exchange Box.BOTTOM with Cone.CAP so that box has Cone.CAP instead of box.BOTTOM and the sme with cone. Sb know how to do that?
[220 byte] By [strassenjungea] at [2007-11-26 14:41:05]
# 1

It's been quite a while since I looked at primitives, but if I'm not mistaken, they are all final, or at least, there are no decent overridable methods that would allow you to hack the primitives in this way. As far as I can tell, the primitives are pretty much stuck the way they are.

If you really want to start customizing the shapes, I would suggest that you develop your own primitives classes (they aren't really all that difficult -- they're call primitives for a reason), and then you can do practically anything you want with them.

- Adam

guitar_man_Fa at 2007-7-8 8:22:27 > top of Java-index,Security,Cryptography...