SDL_Point(3type)
okay bestie, we're in the SDL3 DATATYPES chapter, and the icon of the day is SDL_Point π
β¨ NAME β¨
SDL_Point β the structure that defines a point (using integers). No float drama, just ints, periodt.
π¦ SYNOPSIS π¦
bestie, here's the exact shape of it, do not freestyle the fields:
#include <SDL3/SDL_rect.h>
typedef struct SDL_Point
{
int x;
int y;
} SDL_Point;
π AVAILABILITY π
This struct is available since SDL 3.2.0. So if you're kicking it with SDL 3.2.0 or later, you're good π«Ά
π SEE ALSO π
go peek at these when you're done, iykyk:
Simple Directmedia Layer β’ SDL 3.4.18 β’ page date: SDL_Point(3type) β bye bestie, hydrate and include your headers πβ¨
π¦ 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