mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #53034 from CaptainProton42/fix-multimesh-populate-surface
This commit is contained in:
commit
442c65f359
@ -151,8 +151,8 @@ Face3::Side Face3::get_side_of(const Face3 &p_face, ClockDirection p_clock_dir)
|
||||
}
|
||||
|
||||
Vector3 Face3::get_random_point_inside() const {
|
||||
real_t a = Math::random(0, 1);
|
||||
real_t b = Math::random(0, 1);
|
||||
real_t a = Math::random(0.0, 1.0);
|
||||
real_t b = Math::random(0.0, 1.0);
|
||||
if (a > b) {
|
||||
SWAP(a, b);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user