Voxvision
1
Creating and manipulating voxel octrees
|
Types and declarations for voxvision libraries. More...
#include <xmmintrin.h>
#include <smmintrin.h>
#include <string.h>
Go to the source code of this file.
Data Structures | |
struct | vox_box |
Structure representing a box. More... | |
Macros | |
#define | VOX_MODULE_PATH "/usr/local/share/voxvision/modules/" |
#define | VOX_DATA_PATH "/usr/local/share/voxvision/data/" |
#define | SSE_INTRIN |
Use SSE intrinsics. | |
#define | VOX_VERSION_MAJOR 0 |
#define | VOX_VERSION_MINOR 34 |
#define | VOX_VERSION "0.34" |
#define | VOX_EXPORT __attribute__((visibility ("default"))) |
#define | vox_alloc(size) aligned_alloc (16, ((size) + 0xf) & ~(size_t)0xf); |
#define | vox_dot_copy(d1, d2) _mm_store_ps (d1, _mm_load_ps (d2)) |
#define | vox_dot_equalp(d1, d2) !(_mm_movemask_ps (_mm_load_ps (d1) != _mm_load_ps(d2)) & 7) |
#define | vox_dot_set(dot, x, y, z) _mm_store_ps (dot, _mm_set_ps (0, z, y, x)) |
#define | vox_quat_copy(q1, q2) _mm_store_ps (q1, _mm_load_ps (q2)) |
#define | vox_quat_set(q, w, i, j, k) _mm_store_ps (q, _mm_set_ps (k, j, i, w)) |
#define | vox_box_copy(b1, b2) memcpy ((b1), (b2), sizeof (struct vox_box)) |
Typedefs | |
typedef float vox_dot[4] | __attribute__((aligned(16))) |
Types and declarations for voxvision libraries.