Temp commit. Cloth

This commit is contained in:
korenkonder
2022-06-19 05:32:43 +03:00
parent 82da8a484d
commit 8a0f0d4aa3
165 changed files with 14548 additions and 14988 deletions
+292 -24
View File
@@ -36,38 +36,306 @@ const vec4u vec4u_null = { 0.0f, 0.0f, 0.0f, 0.0f };
const vec4iu vec4iu_null = { 0, 0, 0, 0 };
vec2i8::vec2i8() : x(), y() {
}
vec2i8::vec2i8(int8_t value) : x(value), y(value) {
}
vec2i8::vec2i8(int8_t x, int8_t y) : x(x), y(y) {
}
vec3i8::vec3i8() : x(), y(), z() {
}
vec3i8::vec3i8(int8_t value) : x(value), y(value), z(value) {
}
vec3i8::vec3i8(int8_t x, int8_t y, int8_t z) : x(x), y(y), z(z) {
}
vec4i8::vec4i8() : x(), y(), z(), w() {
}
vec4i8::vec4i8(int8_t value) : x(value), y(value), z(value), w(value) {
}
vec4i8::vec4i8(int8_t x, int8_t y, int8_t z, int8_t w) : x(x), y(y), z(z), w(w) {
}
vec2u8::vec2u8() : x(), y() {
}
vec2u8::vec2u8(uint8_t value) : x(value), y(value) {
}
vec2u8::vec2u8(uint8_t x, uint8_t y) : x(x), y(y) {
}
vec3u8::vec3u8() : x(), y(), z() {
}
vec3u8::vec3u8(uint8_t value) : x(value), y(value), z(value) {
}
vec3u8::vec3u8(uint8_t x, uint8_t y, uint8_t z) : x(x), y(y), z(z) {
}
vec4u8::vec4u8() : x(), y(), z(), w() {
}
vec4u8::vec4u8(uint8_t value) : x(value), y(value), z(value), w(value) {
}
vec4u8::vec4u8(uint8_t x, uint8_t y, uint8_t z, uint8_t w) : x(x), y(y), z(z), w(w) {
}
vec2i16::vec2i16() : x(), y() {
}
vec2i16::vec2i16(int16_t value) : x(value), y(value) {
}
vec2i16::vec2i16(int16_t x, int16_t y) : x(x), y(y) {
}
vec3i16::vec3i16() : x(), y(), z() {
}
vec3i16::vec3i16(int16_t value) : x(value), y(value), z(value) {
}
vec3i16::vec3i16(int16_t x, int16_t y, int16_t z) : x(x), y(y), z(z) {
}
vec4i16::vec4i16() : x(), y(), z(), w() {
}
vec4i16::vec4i16(int16_t value) : x(value), y(value), z(value), w(value) {
}
vec4i16::vec4i16(int16_t x, int16_t y, int16_t z, int16_t w) : x(x), y(y), z(z), w(w) {
}
vec2u16::vec2u16() : x(), y() {
}
vec2u16::vec2u16(uint16_t value) : x(value), y(value) {
}
vec2u16::vec2u16(uint16_t x, uint16_t y) : x(x), y(y) {
}
vec3u16::vec3u16() : x(), y(), z() {
}
;
vec3u16::vec3u16(uint16_t value) : x(value), y(value), z(value) {
}
vec3u16::vec3u16(uint16_t x, uint16_t y, uint16_t z) : x(x), y(y), z(z) {
}
vec4u16::vec4u16() : x(), y(), z(), w() {
}
vec4u16::vec4u16(uint16_t value) : x(value), y(value), z(value), w(value) {
}
vec4u16::vec4u16(uint16_t x, uint16_t y, uint16_t z, uint16_t w) : x(x), y(y), z(z), w(w) {
}
vec2h::vec2h() : x(), y() {
}
vec2h::vec2h(half_t value) : x(value), y(value) {
}
vec2h::vec2h(half_t x, half_t y) : x(x), y(y) {
}
vec3h::vec3h() : x(), y(), z() {
}
vec3h::vec3h(half_t value) : x(value), y(value), z(value) {
}
vec3h::vec3h(half_t x, half_t y, half_t z) : x(x), y(y), z(z) {
}
vec4h::vec4h() : x(), y(), z(), w() {
}
vec4h::vec4h(half_t value) : x(value), y(value), z(value), w(value) {
}
vec4h::vec4h(half_t x, half_t y, half_t z, half_t w) : x(x), y(y), z(z), w(w) {
}
vec2::vec2() : x(), y() {
}
vec2::vec2(float_t value) : x(value), y(value) {
}
vec2::vec2(float_t x, float_t y) : x(x), y(y) {
}
vec3::vec3() : x(), y(), z() {
}
;
vec3::vec3(float_t value) : x(value), y(value), z(value) {
}
vec3::vec3(float_t x, float_t y, float_t z) : x(x), y(y), z(z) {
}
vec4::vec4() : x(), y(), z(), w() {
}
;
vec4::vec4(float_t value) : x(value), y(value), z(value), w(value) {
}
vec4::vec4(float_t x, float_t y, float_t z, float_t w) : x(x), y(y), z(z), w(w) {
}
vec2i::vec2i() : x(), y() {
}
vec2i::vec2i(int32_t value) : x(value), y(value) {
}
vec2i::vec2i(int32_t x, int32_t y) : x(x), y(y) {
}
vec3i::vec3i() : x(), y(), z() {
}
vec3i::vec3i(int32_t value) : x(value), y(value), z(value) {
}
vec3i::vec3i(int32_t x, int32_t y, int32_t z) : x(x), y(y), z(z) {
}
vec4i::vec4i() : x(), y(), z(), w() {
}
vec4i::vec4i(int32_t value) : x(value), y(value), z(value), w(value) {
}
vec4i::vec4i(int32_t x, int32_t y, int32_t z, int32_t w) : x(x), y(y), z(z), w(w) {
}
vec2d::vec2d() : x(), y() {
}
vec2d::vec2d(double_t value) : x(value), y(value) {
}
vec2d::vec2d(double_t x, double_t y) : x(x), y(y) {
}
vec4u::vec4u() : x(), y(), z(), w() {
}
vec4u::vec4u(float_t value) : x(value), y(value), z(value), w(value) {
}
vec4u::vec4u(float_t x, float_t y, float_t z, float_t w) : x(x), y(y), z(z), w(w) {
}
vec4iu::vec4iu() : x(), y(), z(), w() {
}
vec4iu::vec4iu(int32_t value) : x(value), y(value), z(value), w(value) {
}
vec4iu::vec4iu(int32_t x, int32_t y, int32_t z, int32_t w) : x(x), y(y), z(z), w(w) {
}
vec4::operator vec4u() const {
vec4u v;
v.x = x;
v.y = y;
v.z = z;
v.w = w;
return v;
return { x, y, z, w };
}
vec4u::operator vec4() const {
vec4 v;
v.x = x;
v.y = y;
v.z = z;
v.w = w;
return v;
return { x, y, z, w };
}
vec4i::operator vec4iu() const {
vec4iu v;
v.x = x;
v.y = y;
v.z = z;
v.w = w;
return v;
return { x, y, z, w };
}
vec4iu::operator vec4i() const {
vec4i v;
v.x = x;
v.y = y;
v.z = z;
v.w = w;
return v;
return { x, y, z, w };
}