SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]
(This function is part of SDL_mixer, a separate library from SDL.)

MIX_Point3D

3D coordinates for MIX_SetTrack3DPosition.

Header File

Defined in <SDL3_mixer/SDL_mixer.h>

Syntax

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;

Remarks

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

Version

This struct is available since SDL_mixer 3.0.0.

See Also


CategoryAPI, CategoryAPIStruct, CategorySDLMixer


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.