mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #98768 from Repiteo/core/constexpr-math-operators
Core: Add `constexpr` constructors/operators to math structs
This commit is contained in:
commit
1f6426066e
56 changed files with 1109 additions and 1159 deletions
|
|
@ -475,7 +475,7 @@ void Polygon3DEditor::_polygon_draw() {
|
|||
va.resize(poly.size());
|
||||
Vector3 *w = va.ptrw();
|
||||
for (int i = 0; i < poly.size(); i++) {
|
||||
Vector2 p, p2;
|
||||
Vector2 p;
|
||||
p = i == edited_point ? edited_point_pos : poly[i];
|
||||
|
||||
Vector3 point = Vector3(p.x, p.y, depth);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue