Functions
Internal
Data Types

Classes used internally by data types. More...

Functions

template<typename U , DIM D, uint8 N>
ash::impl::_mask (U val)
 Apply a morton_mask to a value.

Detailed Description

Classes used internally by data types.


Function Documentation

template<typename U , DIM D, uint8 N>
U ash::impl::_mask ( val) [inline]

Apply a morton_mask to a value.

Template Parameters:
U[uint8|uint16|uint32|uint64] An unsigned type.
D[DIM_2D|DIM_3D] 2D or 3D.
NThe number of bits to shift by.
Parameters:
valThe value to modify.
Returns:
The input value with the mask applied.
Examples:
omp_example/main.cpp.


© 2012   AshTL
Licensed under  AGPLv3
Hosted by  Get AshTL at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated by  doxygen 1.7.4