TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
unorm8.h File Reference
#include "G3D/platform.h"
#include "G3D/g3dmath.h"
+ Include dependency graph for unorm8.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 G3D
 

Functions

 G3D::unorm8 (uint8 b)
 
static unorm8 G3D::fromBits (uint8 b)
 
static unorm8 G3D::reinterpretFrom (uint8 b)
 
 G3D::unorm8 ()
 
 G3D::unorm8 (const unorm8 &other)
 
 G3D::unorm8 (float f)
 
 G3D::unorm8 (double f)
 
 G3D::operator float () const
 
 G3D::operator double () const
 
static unorm8 G3D::one ()
 
static unorm8 G3D::zero ()
 
uint16 G3D::bits () const
 Returns the underlying bits in this representation. Equivalent to: More...
 
uint8 G3D::reinterpretAsUInt8 () const
 Returns the underlying bits in this representation. Equivalent to: More...
 
bool G3D::operator> (const unorm8 other) const
 
bool G3D::operator< (const unorm8 other) const
 
bool G3D::operator>= (const unorm8 other) const
 
bool G3D::operator<= (const unorm8 other) const
 
bool G3D::operator== (const unorm8 other) const
 
bool G3D::operator!= (const unorm8 other) const
 
unorm8 G3D::operator+ (const unorm8 other) const
 
unorm8 & G3D::operator+= (const unorm8 other)
 
unorm8 G3D::operator- (const unorm8 other) const
 
unorm8 & G3D::operator-= (const unorm8 other)
 
unorm16 G3D::operator* (const int i) const
 
unorm16 & G3D::operator*= (const int i)
 
unorm16 G3D::operator/ (const int i) const
 
unorm16 & G3D::operator/= (const int i)
 
unorm16 G3D::operator<< (const int i) const
 
unorm16 & G3D::operator<<= (const int i)
 
unorm16 G3D::operator>> (const int i) const
 
unorm16 & G3D::operator>>= (const int i)
 

Variables

 G3D::unorm8
 

Detailed Description

Morgan McGuire, http://graphics.cs.williams.edu

2011-08-11 2011-08-11

Copyright 2000-2012, Morgan McGuire. All rights reserved.