#include import Crafter.Math; import std; using namespace Crafter; int main() { Vector sphereCenter(-10,0,0); float sphereRadius = 10; Vector boxSize(0,0,0); MatrixRowMajor boxMatrix = MatrixRowMajor ::Translation(10,0,0); std::cout << IntersectionTestSphereOrientedBox(sphereCenter, sphereRadius, boxSize, boxMatrix) << std::endl; }