heightfield tree benchmark

This commit is contained in:
Erin Catto 2026-11-11 10:18:21 -08:00
commit 42404f0af1
4 changed files with 98 additions and 15 deletions

View file

@ -239,6 +239,9 @@ int main( int argc, char** argv )
{ "trees100", NULL, CreateTrees100, DestroyTrees, NULL, 500 },
{ "trees50", NULL, CreateTrees50, DestroyTrees, NULL, 500 },
{ "trees25", NULL, CreateTrees25, DestroyTrees, NULL, 500 },
{ "trees100hf", NULL, CreateTrees100HeightField, DestroyTrees, NULL, 500 },
{ "trees50hf", NULL, CreateTrees50HeightField, DestroyTrees, NULL, 500 },
{ "trees25hf", NULL, CreateTrees25HeightField, DestroyTrees, NULL, 500 },
{ "village", GetVillageCapacity, CreateVillage, DestroyVillage, StepVillage, VILLAGE_STEP_COUNT },
{ "washer", GetWasherCapacity, CreateWasher, NULL, NULL, 1000 },
//{ "smash", CreateSmash, NULL, 300 },