Matrix Engine Api Documentation - v2.0.0
    Preparing search index...

    Function rayIntersectsSphere2

    • Parameters

      • rayOrigin: any
      • rayDirection: any
      • sphereCenter: any
      • sphereRadius: any

      Returns { hitNormal: Vec3; hitPoint: Vec3; t: number }