Definition at line 55 of file cuda_dxt.cu.
◆ vec3() [1/4]
| __device__ vec3::vec3 |
( |
float | x, |
|
|
float | y, |
|
|
float | z ) |
|
inline |
◆ vec3() [2/4]
| __device__ vec3::vec3 |
( |
float | n = 0.0f | ) |
|
|
inline |
◆ vec3() [3/4]
| __device__ vec3::vec3 |
( |
const vec2 & | v | ) |
|
|
inline |
◆ vec3() [4/4]
| __device__ vec3::vec3 |
( |
const uvec3 & | v | ) |
|
|
inline |
◆ gb()
| __device__ vec2 vec3::gb |
( |
| ) |
const |
|
inline |
◆ operator*() [1/2]
| __device__ vec3 vec3::operator* |
( |
const float | n | ) |
const |
|
inline |
Definition at line 67 of file cuda_dxt.cu.
67 {
68 return *
this *
vec3(n);
69 }
__device__ vec3(float x, float y, float z)
References vec3().
◆ operator*() [2/2]
| __device__ vec3 vec3::operator* |
( |
const vec3 & | v | ) |
const |
|
inline |
◆ operator+()
| __device__ vec3 vec3::operator+ |
( |
const vec3 & | o | ) |
const |
|
inline |
◆ operator-()
| __device__ vec3 vec3::operator- |
( |
const vec3 & | o | ) |
const |
|
inline |
Definition at line 70 of file cuda_dxt.cu.
70 {
71 return *this + (o * -1.0f);
72 }
◆ operator/()
| __device__ vec3 vec3::operator/ |
( |
const float | n | ) |
const |
|
inline |
Definition at line 73 of file cuda_dxt.cu.
73 {
74 return *this * (1.0f / n);
75 }
The documentation for this struct was generated from the following file: