ALLEGRO_PI
#define ALLEGRO_PI 3.14159265358979323846
Introduced in 5.0.0
C99 compilers have no predefined value like M_PI for the constant π, but you can use this one instead.
Examples: ex_bitmap_target, ex_blend2, ex_blend_bench, ex_blit, ex_clip, ex_filter, ex_glext, ex_haiku, ex_lines, ex_logo, ex_opengl, ex_premulalpha, ex_prim, ex_synth, ex_threads
Most helpful discussions:
- tranformations with A5
- help: how to use al_calculate_arc()
- Audio waveform with unexpected frequency behavior
- Drawing 3D graphics to a bitmap smaller than the display.
- Convert degree to Radians effective way
- Rotating bitmap in local and global axis ?
- [A5] Trying to understand projection transformations
- Blit to Android display
- How to use al_calc_elliptical_arc?
- [Allegro 5.0.10] Lightning with blenders
Other recent discussions:
- Best algorithm for shadow casting on a 2-D grid?
- Detecting mouseover on isometric map
- Problem with rotating
- al_wait_for_event won't catch the timer.
- Collision Detection with a rotating square.
- How to draw a smoother/more accurate circle?
- Pointers and arrays.
- Degrees to Radians
- SFML 2 Vs SDL 1.3/2.0 Vs Allegro 5
- how are you all?