SDL_FPoint(3type)

✨ SDL_FPoint ✨

okay bestie, gather round, because we're talking about SDL_FPoint β€” the structure that defines a point, but make it float πŸ’…. it's from the SDL3 datatypes era, and yes, it's exactly as iconic as it sounds.


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_rect.h>

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

like… look at her. two little floats. x and y. no notes, no drama, just a point doing point things with floating point precision. periodt. πŸŽ€


πŸ¦‹ AVAILABILITY πŸ¦‹

this struct is available since SDL 3.2.0. so if you're on something older, bestie, it's giving not yet. upgrade era πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

go read those too, iykyk 🌈


anyway, that's the whole vibe. this page came straight from Simple Directmedia Layer, version SDL 3.4.18, and it's the SDL_FPoint(3type) manual page. mwah πŸ’‹ stay floaty, bestie 🫢✨

πŸ“¦ where this page comes from