arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

simPow.h File Reference

#include <mathGutz.h>

Go to the source code of this file.

Functions

unsigned int getNextPow2 (unsigned int v)
 next pow 2, unsigned int

gutz::vec3ui getNextPow2 (gutz::vec3ui v)
 next pow 2, vec3ui

gutz::vec3i getNextPow2 (gutz::vec3i v)
bool isPow2 (unsigned int v)
 is pow 2, unsigned int

bool isPow2 (gutz::vec3ui v)
 is pow 2, vec3ui


Function Documentation

gutz::vec3i getNextPow2 gutz::vec3i  v  )  [inline]
 

Definition at line 49 of file simPow.h.

References getNextPow2(), v, and gutz::vec3i.

Referenced by VolField::brick(), getNextPow2(), and isPow2().

gutz::vec3ui getNextPow2 gutz::vec3ui  v  )  [inline]
 

next pow 2, vec3ui

Definition at line 43 of file simPow.h.

References getNextPow2(), v, and gutz::vec3ui.

unsigned int getNextPow2 unsigned int  v  )  [inline]
 

next pow 2, unsigned int

Definition at line 32 of file simPow.h.

References v.

Referenced by getNextPow2().

bool isPow2 gutz::vec3ui  v  )  [inline]
 

is pow 2, vec3ui

Definition at line 67 of file simPow.h.

References v.

bool isPow2 unsigned int  v  )  [inline]
 

is pow 2, unsigned int

Definition at line 58 of file simPow.h.

References getNextPow2(), and v.


Send questions, comments, and bug reports to:
jmk