KDNode.rotate¶
- KDNode.rotate(self, rotation)¶
Rotate this node and any child nodes by
rotation
The bounding box, the child nodes, and the shapes are all rotated.
This is probably not needed anymore since the KDTree applies translations and rotations to the rays for efficiency.
- Parameters:
rotation (Rotation) – The rotation by which to rotate the node