From 572157cfd8d7a5daa9cffda137ba6bb70173691b Mon Sep 17 00:00:00 2001 From: Nuno Silva Date: Sat, 19 Apr 2025 19:22:37 +0100 Subject: [PATCH] [Assimp] Add missing GenerateBoundingBoxes flag --- .../Silk.NET.Assimp/Enums/PostProcessSteps.cs | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/Assimp/Silk.NET.Assimp/Enums/PostProcessSteps.cs b/src/Assimp/Silk.NET.Assimp/Enums/PostProcessSteps.cs index c9b562448f..ca99fa1f5d 100644 --- a/src/Assimp/Silk.NET.Assimp/Enums/PostProcessSteps.cs +++ b/src/Assimp/Silk.NET.Assimp/Enums/PostProcessSteps.cs @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) 2012-2014 AssimpNet - Nicholas Woodfield * * Permission is hereby granted, free of charge, to any person obtaining a copy @@ -30,7 +30,7 @@ namespace Silk.NET.Assimp /// data or optimize the imported data. /// [Flags] - public enum PostProcessSteps + public enum PostProcessSteps : uint { /// /// No flags enabled. @@ -416,6 +416,11 @@ public enum PostProcessSteps /// Usage of the configuration AI_CONFIG_PP_DB_THRESHOLD to control the threshold and AI_CONFIG_PP_DB_ALL_OR_NONE if you want bones /// removed if and only if all bones within the scene qualify for removal. /// - Debone = 0x4000000 + Debone = 0x4000000, + + /// + /// Calculates mesh axis aligned bounding boxes + /// + GenerateBoundingBoxes = 0x80000000, } -} \ No newline at end of file +}