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
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms