MIX_Point3D.3type - Man Page

3D coordinates for MIX_SetTrack3DPosition.

Synopsis

#include <SDL3_mixer/SDL_mixer.h>

typedef struct MIX_Point3D
{
    float x;  /**< X coordinate (negative left, positive right). */
    float y;  /**< Y coordinate (negative down, positive up). */
    float z;  /**< Z coordinate (negative forward, positive back). */
} MIX_Point3D;

Description

The coordinates use a "right-handed" coordinate system, like OpenGL and OpenAL.

Availability

This struct is available since SDL_mixer 3.0.0.

See Also

MIX_SetTrack3DPosition(3)

Info

SDL_mixer 3.2.4 SDL_mixer3 DATATYPES