mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 00:16:04 +08:00
This broke the SLA support point generator test. Why?
This commit is contained in:
parent
c388c42055
commit
90ddffa83c
@ -360,7 +360,7 @@ std::vector<Vec2f> sample_expolygon(const ExPolygon &expoly, float samples_per_m
|
|||||||
const Vec2f &a = triangles[idx_triangle ++];
|
const Vec2f &a = triangles[idx_triangle ++];
|
||||||
const Vec2f &b = triangles[idx_triangle++];
|
const Vec2f &b = triangles[idx_triangle++];
|
||||||
const Vec2f &c = triangles[idx_triangle];
|
const Vec2f &c = triangles[idx_triangle];
|
||||||
#if 0
|
#if 1
|
||||||
// https://www.cs.princeton.edu/~funk/tog02.pdf
|
// https://www.cs.princeton.edu/~funk/tog02.pdf
|
||||||
// page 814, formula 1.
|
// page 814, formula 1.
|
||||||
double u = float(std::sqrt(random_float(rng)));
|
double u = float(std::sqrt(random_float(rng)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user