You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
457 B
C
25 lines
457 B
C
// This code is in the public domain -- Ignacio Castaño <castano@gmail.com>
|
|
|
|
#include "Vector.h" // Vector3, Vector4
|
|
|
|
|
|
// Set some reasonable defaults.
|
|
#ifndef NV_USE_ALTIVEC
|
|
# define NV_USE_ALTIVEC POSH_CPU_PPC
|
|
#endif
|
|
|
|
#ifndef NV_USE_SSE
|
|
# if NV_CPU_X86 || NV_CPU_X86_64
|
|
# define NV_USE_SSE 2
|
|
# endif
|
|
#endif
|
|
|
|
|
|
#if NV_USE_ALTIVEC
|
|
# include "SimdVector_VE.h"
|
|
#endif
|
|
|
|
#if NV_USE_SSE
|
|
# include "SimdVector_SSE.h"
|
|
#endif
|