【开发日志】2022.09.09 ZENO viewportwidge---raycast---sphere&AABB Box(zry还没把一些基础交互加上去,暂时不能用OBB)
RAYCASTvdoc.pub_game-physics-cookbook.pdfLinetestSphereboolRaycast(constSphere&sphere,constRay&ray,RaycastResult*outResult){ResetRaycastResult(outResult);vec3e=sphere.position-ray.origin;floatrSq=sphe