30 #ifndef _VECTORMATH_VECIDX_AOS_H
31 #define _VECTORMATH_VECIDX_AOS_H
36 namespace Vectormath {
51 inline VecIdx( __m128& vec,
int idx ): ref(vec) { i = idx; }
57 #ifdef _VECTORMATH_NO_SCALAR_CAST
59 inline float getAsFloat()
const;
61 inline operator float()
const;
64 inline float operator =(
float scalar );
66 inline floatInVec operator =(
const VecIdx& scalar );
VM_ATTRIBUTE_ALIGNED_CLASS16(class) VecIdx
float3 & operator-=(float3 &a, const float3 &b)
float4 & operator+=(float4 &a, const float4 &b)
float4 & operator*=(float4 &a, float fact)