Tryst::SDL::Point3D
A point in the space a track can be placed in.
Right-handed, the way OpenGL and OpenAL are: x runs right, y runs up, z runs back toward the listener. The listener is always at the origin and cannot be moved, so these are positions relative to whoever is hearing them.
Distance from the origin attenuates - further is quieter - so
Point3D.new(x: 50, y: 0, z: 0) is off to the right and faint,
while x: 1 is off to the right and close.
Constructors
Instance methods
clone
Sourcecopy_with(x _x = @x, y _y = @y, z _z = @z)
Sourceto_unsafe
Sourcex
y
z