Skip to content

Commit

Permalink
Optional.md を更新
Browse files Browse the repository at this point in the history
  • Loading branch information
CaseyNelson314 authored Dec 11, 2024
1 parent a53d9cb commit 752aa73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Types/Optional.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Udon::Optional<Vec2> divisionVector(const Vec2& l, double r)
if (r == 0)
return Udon::nullopt;
else
return l / r;
return { l.x / r, r.y / r };
}

// ... 略
Expand Down

0 comments on commit 752aa73

Please sign in to comment.