Cosmos Journeyer API Documentation - v1.10.1
    Preparing search index...

    Function getChunkSphereSpacePositionFromPath

    • Returns chunk position in planet space

      Parameters

      • path: number[]

        the path to the chunk in the quadtree

      • direction: Direction

        direction of the parent plane

      • planetRadius: number
      • planetRotationQuaternion: Quaternion

      Returns Vector3

      the position in planet space