www.pudn.com > OpenGL32.rar > vectorlib.h
#ifndef __VECTORLIB_H_INCLUDED__ #define __VECTORLIB_H_INCLUDED__ #include/*************************** Macros and constants ***************************/ // returns a number ranging from -1.0 to 1.0 #define FRAND (((float)rand()-(float)rand())/RAND_MAX) #define Clamp(x, min, max) x = (x