Beispiel #1
0
void VDB::rotate(const ofVec3f & axis, float angle) {
	Mat4d mat;
	mat.setToRotation(Vec3R(axis.x, axis.y, axis.z), angle);
	tempTransform.rotateRad(angle, axis.x, axis.y, axis.z);
	grid->transform().postMult(mat);
}