Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gl_sphere_list_server.cpp File Reference
#include "gfxlib.h"
#include "gfxlib_struct.h"
#include "gfx/matrix.h"
#include <assert.h>

Go to the source code of this file.

Macros

#define GetS(theta, theta_min, theta_max)   ( 1-(theta-theta_min)/(theta_max-theta_min) )
 
#define GetT(rho, rho_min, rho_max)   ( 1-(rho-rho_min)/(rho_max-rho_min) )
 

Macro Definition Documentation

#define GetS (   theta,
  theta_min,
  theta_max 
)    ( 1-(theta-theta_min)/(theta_max-theta_min) )
#define GetT (   rho,
  rho_min,
  rho_max 
)    ( 1-(rho-rho_min)/(rho_max-rho_min) )