mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-22 16:04:17 +00:00
(Proposal) Introduce arithmetic operators to Vector2 (#1193)
This commit is contained in:

committed by
GitHub

parent
4d8098a6c2
commit
94ce89cbaa
@@ -430,10 +430,10 @@ void ViewManager::UpdateViewTransformations()
|
||||
Vector3 normal(frustum_planes[i]);
|
||||
|
||||
x = c;
|
||||
((Vector3&) x).Sub(b); // TODO: Fix call
|
||||
x -= b;
|
||||
|
||||
y = a;
|
||||
((Vector3&) y).Sub(b); // TODO: Fix call
|
||||
y -= b;
|
||||
|
||||
normal.EqualsCross(&x, &y);
|
||||
normal.Unitize();
|
||||
|
Reference in New Issue
Block a user