mirror of
https://github.com/godotengine/godot-benchmarks.git
synced 2025-12-31 09:49:13 +03:00
Fix convex hull benchmarks (multiple of 3) (#55)
The benchmark was bogus before. I missed this error:
convex_hull_3d.gd:34 @ _bench_convex(): Ignoring surface 0, incorrect vertex count: 10000 (for PRIMITIVE_TRIANGLES).
<C++ Error> Condition "(len % 3) != 0" is true. Continuing.
Also tweaked the iteration count so it takes a reasonable time.
This commit is contained in:
committed by
GitHub
parent
42ba8d1999
commit
42fbc4008a
@@ -1,7 +1,7 @@
|
||||
extends Benchmark
|
||||
|
||||
const NUM_ITERATIONS := 100
|
||||
const NUM_POINTS := 10_000
|
||||
const NUM_ITERATIONS := 10
|
||||
const NUM_POINTS := 1002 # Should be a multiple of three, triangles will be built with this.
|
||||
const CLOUD_SIZE := 1.0
|
||||
const POSITION := Vector3(0.0, 0.0, 0.0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user