Editor matrix, icons, rotation, impl light

This commit is contained in:
MegaMech
2025-03-13 16:52:01 -06:00
parent 7674283449
commit 3ab8fe0d71
35 changed files with 3247 additions and 813 deletions
+5
View File
@@ -34,6 +34,7 @@ struct FVector {
return x * other.x + y * other.y + z * other.z;
}
FVector Cross(const FVector& other) const {
return FVector(
y * other.z - z * other.y,
@@ -42,6 +43,10 @@ struct FVector {
);
}
float Magnitude() const {
return std::sqrt(x * x + y * y + z * z);
}
FVector Normalize() const {
float len = std::sqrt(x * x + y * y + z * z);
return FVector(