Contents

init(x:y:z:)

Creates an acceleration structure with the specified values.

Declaration

init(x: Double, y: Double, z: Double)

Parameters

  • x:

    The gravitational force on the x-axis.

  • y:

    The gravitational force on the y-axis.

  • z:

    The gravitational force on the z-axis.