rotate method
(en)Rotates all vectors of this object based on the specified axis.
(ja)このオブジェクトの全てのベクトルを指定した軸をベースに回転させます。
norAxis
: normalized rotate axis vector.radian
: radian = degree * pi / 180.
Implementation
Sp3dObj rotate(Sp3dV3D norAxis, double radian) {
for (Sp3dV3D i in vertices) {
i.rotate(norAxis, radian);
}
return this;
}