577 lines
7.1 KiB
Plaintext
577 lines
7.1 KiB
Plaintext
vec2::vec2(const vec3 rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2::vec2(const vec4 rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2::vec2(const vec2f rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2::vec2(const vec3f rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2::vec2(const vec4f rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2::vec2(const vec2i rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2::vec2(const vec3i rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2::vec2(const vec4i rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec3::vec3(const vec2 rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = 0;
|
|
return;
|
|
}
|
|
|
|
vec3::vec3(const vec4 rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = (double)rhs.z;
|
|
return;
|
|
}
|
|
|
|
vec3::vec3(const vec2f rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = 0;
|
|
return;
|
|
}
|
|
|
|
vec3::vec3(const vec3f rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = (double)rhs.z;
|
|
return;
|
|
}
|
|
|
|
vec3::vec3(const vec4f rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = (double)rhs.z;
|
|
return;
|
|
}
|
|
|
|
vec3::vec3(const vec2i rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = 0;
|
|
return;
|
|
}
|
|
|
|
vec3::vec3(const vec3i rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = (double)rhs.z;
|
|
return;
|
|
}
|
|
|
|
vec3::vec3(const vec4i rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = (double)rhs.z;
|
|
return;
|
|
}
|
|
|
|
vec4::vec4(const vec2 rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = 0;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4::vec4(const vec3 rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = (double)rhs.z;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4::vec4(const vec2f rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = 0;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4::vec4(const vec3f rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = (double)rhs.z;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4::vec4(const vec4f rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = (double)rhs.z;
|
|
w = (double)rhs.w;
|
|
return;
|
|
}
|
|
|
|
vec4::vec4(const vec2i rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = 0;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4::vec4(const vec3i rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = (double)rhs.z;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4::vec4(const vec4i rhs)
|
|
{
|
|
x = (double)rhs.x;
|
|
y = (double)rhs.y;
|
|
z = (double)rhs.z;
|
|
w = (double)rhs.w;
|
|
return;
|
|
}
|
|
|
|
vec2f::vec2f(const vec2 rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2f::vec2f(const vec3 rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2f::vec2f(const vec4 rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2f::vec2f(const vec3f rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2f::vec2f(const vec4f rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2f::vec2f(const vec2i rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2f::vec2f(const vec3i rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2f::vec2f(const vec4i rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec3f::vec3f(const vec2 rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = 0;
|
|
return;
|
|
}
|
|
|
|
vec3f::vec3f(const vec3 rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = (float)rhs.z;
|
|
return;
|
|
}
|
|
|
|
vec3f::vec3f(const vec4 rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = (float)rhs.z;
|
|
return;
|
|
}
|
|
|
|
vec3f::vec3f(const vec2f rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = 0;
|
|
return;
|
|
}
|
|
|
|
vec3f::vec3f(const vec4f rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = (float)rhs.z;
|
|
return;
|
|
}
|
|
|
|
vec3f::vec3f(const vec2i rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = 0;
|
|
return;
|
|
}
|
|
|
|
vec3f::vec3f(const vec3i rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = (float)rhs.z;
|
|
return;
|
|
}
|
|
|
|
vec3f::vec3f(const vec4i rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = (float)rhs.z;
|
|
return;
|
|
}
|
|
|
|
vec4f::vec4f(const vec2 rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = 0;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4f::vec4f(const vec3 rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = (float)rhs.z;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4f::vec4f(const vec4 rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = (float)rhs.z;
|
|
w = (float)rhs.w;
|
|
return;
|
|
}
|
|
|
|
vec4f::vec4f(const vec2f rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = 0;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4f::vec4f(const vec3f rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = (float)rhs.z;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4f::vec4f(const vec2i rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = 0;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4f::vec4f(const vec3i rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = (float)rhs.z;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4f::vec4f(const vec4i rhs)
|
|
{
|
|
x = (float)rhs.x;
|
|
y = (float)rhs.y;
|
|
z = (float)rhs.z;
|
|
w = (float)rhs.w;
|
|
return;
|
|
}
|
|
|
|
vec2i::vec2i(const vec2 rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2i::vec2i(const vec3 rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2i::vec2i(const vec4 rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2i::vec2i(const vec2f rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2i::vec2i(const vec3f rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2i::vec2i(const vec4f rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2i::vec2i(const vec3i rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec2i::vec2i(const vec4i rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
return;
|
|
}
|
|
|
|
vec3i::vec3i(const vec2 rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = 0;
|
|
return;
|
|
}
|
|
|
|
vec3i::vec3i(const vec3 rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = (int)rhs.z;
|
|
return;
|
|
}
|
|
|
|
vec3i::vec3i(const vec4 rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = (int)rhs.z;
|
|
return;
|
|
}
|
|
|
|
vec3i::vec3i(const vec2f rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = 0;
|
|
return;
|
|
}
|
|
|
|
vec3i::vec3i(const vec3f rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = (int)rhs.z;
|
|
return;
|
|
}
|
|
|
|
vec3i::vec3i(const vec4f rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = (int)rhs.z;
|
|
return;
|
|
}
|
|
|
|
vec3i::vec3i(const vec2i rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = 0;
|
|
return;
|
|
}
|
|
|
|
vec3i::vec3i(const vec4i rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = (int)rhs.z;
|
|
return;
|
|
}
|
|
|
|
vec4i::vec4i(const vec2 rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = 0;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4i::vec4i(const vec3 rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = (int)rhs.z;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4i::vec4i(const vec4 rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = (int)rhs.z;
|
|
w = (int)rhs.w;
|
|
return;
|
|
}
|
|
|
|
vec4i::vec4i(const vec2f rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = 0;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4i::vec4i(const vec3f rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = (int)rhs.z;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4i::vec4i(const vec4f rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = (int)rhs.z;
|
|
w = (int)rhs.w;
|
|
return;
|
|
}
|
|
|
|
vec4i::vec4i(const vec2i rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = 0;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|
|
vec4i::vec4i(const vec3i rhs)
|
|
{
|
|
x = (int)rhs.x;
|
|
y = (int)rhs.y;
|
|
z = (int)rhs.z;
|
|
w = 0;
|
|
return;
|
|
}
|
|
|