Function cartesianNormalizeInPlace

  • 归一化三维笛卡尔坐标系下的向量 d,将 d 修改为指向相同方向的单位向量。 This function normalizes a 3D Cartesian vector d in-place, modifying d to represent a unit vector pointing in the same direction. (Note: This function is incomplete and requires implementing square root calculation)

    Parameters

    • d: [number, number, number]

    Returns void

Generated using TypeDoc