@masatomakino/threejs-position-util
    Preparing search index...

    Function getGeometryCenterInLocal

    • Calculate geometry center coordinates in local mesh space. Returns Vector3(0,0,0) for geometry centered at mesh origin.

      Parameters

      • mesh: Mesh

        The mesh containing the geometry

      Returns Vector3

      The center coordinates in local mesh space