Bonjour,
j'ai besoin d'un traducteur humano-javadocumentation 
J'ai cela dans la doc:
1 2 3 4 5 6 7 8 9
|
setCenter
public void setCenter(Point3d center)
Sets the position of this bounding sphere from a point.
Parameters:
center - a Point defining the new center of the bounding sphere |
Or quand je copie cela dans mon code cela me dit ce nest pas public.
Je cherche simplement a changer le centre de rotation d'un objet "bonding sphere".
Sinon j'ai vu cela:
1 2 3
| // on définit la zone sur laquelle va s'appliquer la rotation
BoundingSphere boundsWinRSpin=new BoundingSphere(new Point3d(-5.0, 0.0, 0.0),
0.5); |
Et jai rajouter ces valeurs, avant j'avais:
BoundingSphere bounds3Bird=new BoundingSphere();
Donc a ce que jai compris le "-5.0, 0.0,0.0" sont des valeurs d'un point? Le centre? mais meme en changeant cela ne change rien a mon objet il tourne toujours au meme endroit!!!

Merci!
Partager