Skip to content

Commit e15e305

Browse files
[Assimp] Add missing GenerateBoundingBoxes flag (#2447)
1 parent cd66e21 commit e15e305

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/Assimp/Silk.NET.Assimp/Enums/PostProcessSteps.cs

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*
22
* Copyright (c) 2012-2014 AssimpNet - Nicholas Woodfield
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -30,7 +30,7 @@ namespace Silk.NET.Assimp
3030
/// data or optimize the imported data.
3131
/// </summary>
3232
[Flags]
33-
public enum PostProcessSteps
33+
public enum PostProcessSteps : uint
3434
{
3535
/// <summary>
3636
/// No flags enabled.
@@ -416,6 +416,11 @@ public enum PostProcessSteps
416416
/// <para>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
417417
/// removed if and only if all bones within the scene qualify for removal.</para>
418418
/// </summary>
419-
Debone = 0x4000000
419+
Debone = 0x4000000,
420+
421+
/// <summary>
422+
/// Calculates mesh axis aligned bounding boxes <see cref="Mesh.MAABB"/>
423+
/// </summary>
424+
GenerateBoundingBoxes = 0x80000000,
420425
}
421-
}
426+
}

0 commit comments

Comments
 (0)