|
| constexpr float2 | operator- (const float2 &inA) |
| |
| constexpr float2 | operator+ (const float2 &inA, const float2 &inB) |
| |
| constexpr float2 | operator- (const float2 &inA, const float2 &inB) |
| |
| constexpr float2 | operator* (const float2 &inA, const float2 &inB) |
| |
| constexpr float2 | operator/ (const float2 &inA, const float2 &inB) |
| |
| constexpr float2 | operator* (const float2 &inA, float inS) |
| |
| constexpr float2 | operator* (float inS, const float2 &inA) |
| |
| constexpr float2 | operator/ (const float2 &inA, float inS) |
| |
| constexpr float | dot (const float2 &inA, const float2 &inB) |
| |
| constexpr float2 | min (const float2 &inA, const float2 &inB) |
| |
| constexpr float2 | max (const float2 &inA, const float2 &inB) |
| |
| float | length (const float2 &inV) |
| |
| float2 | normalize (const float2 &inV) |
| |
| float2 | round (const float2 &inV) |
| |
| constexpr float3 | operator- (const float3 &inA) |
| |
| constexpr float3 | operator+ (const float3 &inA, const float3 &inB) |
| |
| constexpr float3 | operator- (const float3 &inA, const float3 &inB) |
| |
| constexpr float3 | operator* (const float3 &inA, const float3 &inB) |
| |
| constexpr float3 | operator/ (const float3 &inA, const float3 &inB) |
| |
| constexpr float3 | operator* (const float3 &inA, float inS) |
| |
| constexpr float3 | operator* (float inS, const float3 &inA) |
| |
| constexpr float3 | operator/ (const float3 &inA, float inS) |
| |
| constexpr float | dot (const float3 &inA, const float3 &inB) |
| |
| constexpr float3 | min (const float3 &inA, const float3 &inB) |
| |
| constexpr float3 | max (const float3 &inA, const float3 &inB) |
| |
| float | length (const float3 &inV) |
| |
| float3 | normalize (const float3 &inV) |
| |
| float3 | round (const float3 &inV) |
| |
| constexpr float3 | cross (const float3 &inA, const float3 &inB) |
| |
| constexpr float4 | operator- (const float4 &inA) |
| |
| constexpr float4 | operator+ (const float4 &inA, const float4 &inB) |
| |
| constexpr float4 | operator- (const float4 &inA, const float4 &inB) |
| |
| constexpr float4 | operator* (const float4 &inA, const float4 &inB) |
| |
| constexpr float4 | operator/ (const float4 &inA, const float4 &inB) |
| |
| constexpr float4 | operator* (const float4 &inA, float inS) |
| |
| constexpr float4 | operator* (float inS, const float4 &inA) |
| |
| constexpr float4 | operator/ (const float4 &inA, float inS) |
| |
| constexpr float | dot (const float4 &inA, const float4 &inB) |
| |
| constexpr float4 | min (const float4 &inA, const float4 &inB) |
| |
| constexpr float4 | max (const float4 &inA, const float4 &inB) |
| |
| float | length (const float4 &inV) |
| |
| float4 | normalize (const float4 &inV) |
| |
| float4 | round (const float4 &inV) |
| |
| constexpr uint3 | operator+ (const uint3 &inA, const uint3 &inB) |
| |
| constexpr uint3 | operator- (const uint3 &inA, const uint3 &inB) |
| |
| constexpr uint3 | operator* (const uint3 &inA, const uint3 &inB) |
| |
| constexpr uint3 | operator/ (const uint3 &inA, const uint3 &inB) |
| |
| constexpr uint3 | operator* (const uint3 &inA, uint32 inS) |
| |
| constexpr uint3 | operator* (uint32 inS, const uint3 &inA) |
| |
| constexpr uint3 | operator/ (const uint3 &inA, uint32 inS) |
| |
| constexpr uint32 | dot (const uint3 &inA, const uint3 &inB) |
| |
| constexpr uint3 | min (const uint3 &inA, const uint3 &inB) |
| |
| constexpr uint3 | max (const uint3 &inA, const uint3 &inB) |
| |
| constexpr uint4 | operator+ (const uint4 &inA, const uint4 &inB) |
| |
| constexpr uint4 | operator- (const uint4 &inA, const uint4 &inB) |
| |
| constexpr uint4 | operator* (const uint4 &inA, const uint4 &inB) |
| |
| constexpr uint4 | operator/ (const uint4 &inA, const uint4 &inB) |
| |
| constexpr uint4 | operator* (const uint4 &inA, uint32 inS) |
| |
| constexpr uint4 | operator* (uint32 inS, const uint4 &inA) |
| |
| constexpr uint4 | operator/ (const uint4 &inA, uint32 inS) |
| |
| constexpr uint32 | dot (const uint4 &inA, const uint4 &inB) |
| |
| constexpr uint4 | min (const uint4 &inA, const uint4 &inB) |
| |
| constexpr uint4 | max (const uint4 &inA, const uint4 &inB) |
| |
| constexpr int3 | operator- (const int3 &inA) |
| |
| constexpr int3 | operator+ (const int3 &inA, const int3 &inB) |
| |
| constexpr int3 | operator- (const int3 &inA, const int3 &inB) |
| |
| constexpr int3 | operator* (const int3 &inA, const int3 &inB) |
| |
| constexpr int3 | operator/ (const int3 &inA, const int3 &inB) |
| |
| constexpr int3 | operator* (const int3 &inA, int inS) |
| |
| constexpr int3 | operator* (int inS, const int3 &inA) |
| |
| constexpr int3 | operator/ (const int3 &inA, int inS) |
| |
| constexpr int | dot (const int3 &inA, const int3 &inB) |
| |
| constexpr int3 | min (const int3 &inA, const int3 &inB) |
| |
| constexpr int3 | max (const int3 &inA, const int3 &inB) |
| |
| constexpr int4 | operator- (const int4 &inA) |
| |
| constexpr int4 | operator+ (const int4 &inA, const int4 &inB) |
| |
| constexpr int4 | operator- (const int4 &inA, const int4 &inB) |
| |
| constexpr int4 | operator* (const int4 &inA, const int4 &inB) |
| |
| constexpr int4 | operator/ (const int4 &inA, const int4 &inB) |
| |
| constexpr int4 | operator* (const int4 &inA, int inS) |
| |
| constexpr int4 | operator* (int inS, const int4 &inA) |
| |
| constexpr int4 | operator/ (const int4 &inA, int inS) |
| |
| constexpr int | dot (const int4 &inA, const int4 &inB) |
| |
| constexpr int4 | min (const int4 &inA, const int4 &inB) |
| |
| constexpr int4 | max (const int4 &inA, const int4 &inB) |
| |
| template<class T > |
| constexpr T | clamp (const T &inValue, const T &inMinValue, const T &inMaxValue) |
| |
| template<class T > |
| T | JPH_AtomicAdd (T &ioT, const T &inValue) |
| |
| int4 | asint (const float4 &inV) |
| |
Emulates HLSL vector types and operations in C++. Note doesn't emulate things like barriers and group shared memory.