public void process(Ray3 worldRay, Vector3 boxLocation) { if (enabled) { axisBox.setCenter(boxLocation + centerOffset); selected = axisBox.testIntersection(ref worldRay); } }
public bool checkBoundingBoxCollision(ref Ray3 spaceRay) { boundingBox.setCenter(movable.ToolTranslation + boundingBox.getExtents()); return(boundingBox.testIntersection(spaceRay)); }
internal bool checkBoundingBoxCollision(ref Ray3 spaceRay) { boundingBox.setCenter(movable.ToolTranslation); return(boundingBox.testIntersection(spaceRay)); }