SDL_PI_F(3)

πŸ’– SDL_PI_F(3) πŸ’–

okay so bestie, you opened the SDL3 FUNCTIONS manual and landed on SDL_PI_F(3) β€” the most iconic little float in the game πŸ₯§βœ¨


🌸 NAME 🌸

SDL_PI_F β€” the value of Pi, as a single-precision floating point literal. periodt πŸ’…


✨ SYNOPSIS ✨

#include <SDL3/SDL_stdinc.h>

#define SDL_PI_F   3.141592653589793238462643383279502884F      /**< pi (float) */

like, it's literally just a #define, no cap 🫢


πŸ¦‹ AVAILABILITY πŸ¦‹

This macro is available since SDL 3.2.0. so if you're on older SDL, it's giving not yet, bestie 😭


πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole vibe. brought to you by Simple Directmedia Layer, version SDL 3.4.18 β€” and the date? Not in this footer, but the Pi is timeless πŸ’…πŸ₯§πŸ’–

πŸ“¦ where this page comes from