(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)

SDL_FPoint

The structure that defines a point (using floating point values).

Header File

Defined in <SDL3/SDL_rect.h>

Syntax

typedef struct SDL_FPoint
{
    float x;
    float y;
} SDL_FPoint;

Version

This struct is available since SDL 3.0.0.

See Also


CategoryAPI, CategoryAPIStruct, CategoryRect