Initial commit

This commit is contained in:
2025-11-17 10:28:09 +01:00
parent 7bff81691f
commit 6ee36e26be
391 changed files with 110253 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
class vector4{
float x;
float y;
float z;
float w;
constructor( float x, float y, float z, float w ) {
this->x = x;
this->y = y;
this->z = z;
this->w = w;
}
vector4 * operator+( vector4 * b ) {
this->add( b );
return this;
}
vector4 * operator+=( vector4 * b ) {
this->add( b );
return this;
}
void add( vector4 * b ) {
this->x += b->x;
this->y += b->y;
this->z += b->z;
this->w += b->w;
}
}