SDL_gpu  0.11.0
A hardware-accelerated, cross-platform 2D graphics API
Macros
renderer_shapes_GL_common.inl File Reference

Go to the source code of this file.

Macros

#define DEGPERRAD   57.2957795f
 
#define RADPERDEG   0.0174532925f
 
#define BEGIN_UNTEXTURED(function_name, shape, num_additional_vertices, num_additional_indices)
 
#define INCREMENT_CIRCLE
 

Macro Definition Documentation

◆ BEGIN_UNTEXTURED

#define BEGIN_UNTEXTURED (   function_name,
  shape,
  num_additional_vertices,
  num_additional_indices 
)

Definition at line 19 of file renderer_shapes_GL_common.inl.

◆ DEGPERRAD

#define DEGPERRAD   57.2957795f

Definition at line 5 of file renderer_shapes_GL_common.inl.

◆ INCREMENT_CIRCLE

#define INCREMENT_CIRCLE
Value:
tempx = c * dx - s * dy; \
dy = s * dx + c * dy; \
dx = tempx; \
++i;

Definition at line 786 of file renderer_shapes_GL_common.inl.

◆ RADPERDEG

#define RADPERDEG   0.0174532925f

Definition at line 9 of file renderer_shapes_GL_common.inl.