Basics.h File Reference
#include "cl/CLConfig.h"
#include <iostream.h>
#include <math.h>
Include dependency graph for Basics.h:
Go to the source code of this file.
Defines
#define
_Error(e) _Assert(false, e, __FILE__, __LINE__)
#define
_Warning(w) _Expect(false, w, __FILE__, __LINE__)
Typedefs
typedef signed long
SLong
typedef unsigned int
UInt
typedef unsigned long
ULong
typedef unsigned char
Byte
typedef unsigned char
SByte
Functions
template<class Value> Value
Min (Value x, Value y)
template<class Value> Value
Max (Value x, Value y)
template<class Value>
Void Swap (Value &x, Value &y)
template<class Value> Value
Mix (Value x, Value y,
Real s)
template<class Value> Value
Clip (Value x, Value min, Value max)
template<class Value> Value
sqr (Value x)
Define Documentation
#define Assert(b, e)
#define CheckRange(a, l, u, r)
#define Expect(b, w)
#define SELF (*this)
#define _Error(e) _Assert(false, e, __FILE__, __LINE__)
#define _Warning(w) _Expect(false, w, __FILE__, __LINE__)
Typedef Documentation
typedef bool Bool
typedef unsigned char Byte
typedef char Char
typedef double Double
typedef float Float
typedef int Int
typedef long Long
typedef signed long SAddrInt
typedef unsigned char SByte
typedef signed int SInt
typedef signed short SInt16
typedef signed long SInt32
typedef signed long SLong
typedef unsigned long UAddrInt
typedef unsigned int UInt
typedef unsigned short UInt16
typedef unsigned int UInt32
typedef unsigned long ULong
typedef void Void
Function Documentation
template<class Value>
Value Clip (Value x, Value min, Value max) [inline]
template<class Value>
Value Max (Value x, Value y) [inline]
template<class Value>
Value Min (Value x, Value y) [inline]
template<class Value>
Value Mix (Value x, Value y, Real s) [inline]
template<class Value>
Void Swap (Value & x, Value & y) [inline]
template<class Value>
Value sqr (Value x) [inline]
Generated at Sat Aug 5 00:16:31 2000 for Class Library by
doxygen 1.1.0 written by Dimitri van Heesch,
© 1997-2000