transformPoint method
- Vec3 point
inherited
point, given in the object's own space, in the world's: where a
point on it is.
Implementation
Vec3 transformPoint(Vec3 point) {
final t = _self.worldTransform;
return t.position + t.rotation.rotate(point.scaledBy(t.scale));
}