summaryrefslogtreecommitdiffstats
path: root/code/Common/Assimp.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Bugfix/fix sonarcube findings (#6369)Kim Kulling2025-10-141-6/+8
| | | | | * Fix sonarcube findings. --------- Co-authored-by: Kim Kulling <kim.kulling@draeger.com>
* Prepare 6.0.2 (#6231)v6.0.2Kim Kulling2025-06-081-5/+5
|
* Fix: Fix leak when sortbyp failes with exception (#6166)Kim Kulling2025-05-141-3/+4
| | | Co-authored-by: Kim Kulling <kim.kulling@draeger.com>
* Fix Whitespace (#6063)krishty2025-03-261-1/+1
| | | | | | | | | | | | * Fix Whitespace No functional changes. This commit removes trailing spaces, undesired line breaks, and formatting screwups. * Remove more useless line breaks in license (500 out of 630 license copies do NOT use double line breaks here) --------- Co-authored-by: Krishty <krishty@krishty.com> Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
* Refactorings: glTF cleanups (#6028)Kim Kulling2025-03-051-1/+1
|
* Fix use after free in the CallbackToLogRedirector (#5918)tyler922024-12-111-0/+4
| | | | | | | | | | | | The heap-use-after-free vulnerability occurs in the CallbackToLogRedirector function. During the process of logging, a previously freed memory region is accessed, leading to a use-after-free condition. This vulnerability stems from incorrect memory management, specifically, freeing a log stream and then attempting to access it later on. This patch sets NULL value for The DefaultStream global pointer. Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
* Fix leak (#5762)Kim Kulling2024-09-071-4/+9
| | | | | * Fix leak * Update utLogger.cpp
* Expose aiGetEmbeddedTexture to C-API (#5382)sacereda2024-08-211-14/+18
| | | Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
* Kimkulling/fix double precision tests (#5660)Kim Kulling2024-07-121-8/+8
| | | | | | | | | | | * Make color single precision * Fix the unittests for double precision * Fix merge issues * Fix issues with Vertex + Color4 * Fix vertex operator, some tests are still red.
* Add checks for invalid buffer ans size (#5570)Kim Kulling2024-05-131-2/+7
|
* Add 2024 to copyright infos (#5475)Kim Kulling2024-02-231-1/+1
|
* Apply various clang-tidy checks for smartprs and modern C++ typesAaron Gokaslan2022-11-081-1/+1
|
* Don't include stm_image implementation if using stb library from HunterPovilas Kanapickas2022-09-231-5/+7
| | | | | | | Hunter compiles its own stb library binaries. Currently a second copy is compiled by defining STB_IMAGE_IMPLEMENTATION in Assimp.cpp. This may cause hard to understand bugs if this compiled copy ever becomes different from what Hunter supplies.
* Add compiler switgxh for using static linkage for std_imageKim Kulling2022-05-311-1/+3
|
* Update Assimp.cppKim Kulling2022-05-311-0/+2
|
* Update Assimp.cppKim Kulling2022-05-311-0/+2
|
* Update Assimp.cppKim Kulling2022-05-311-3/+2
|
* Move stb_image header into its own header file.Kim Kulling2022-04-051-14/+1
|
* Link std_image statically.Kim Kulling2022-04-051-0/+1
|
* Update copyrightsKim Kulling2022-01-101-1/+1
|
* Disable diagnostic for LogStream comparatorRobert Ubiñas2021-08-111-0/+13
|
* Hunter fixes for stb_imageRahul Sheth2021-07-071-1/+1
|
* fix the includeKim Kulling2021-06-031-1/+1
|
* merge and update all copies of stb_image.hKrishty2021-05-051-0/+33
|
* Update copyrights to 2021.Kim Kulling2021-02-281-1/+1
|
* Fix build when ASSIMP_DOUBLE_PRECISION is on.Hill Ma2020-06-281-1/+1
| | | | | | | | | Tested: $ cmake -DASSIMP_DOUBLE_PRECISION=1 -DASSIMP_BUILD_MDL_IMPORTER=0 ..; make The MDL importer is disabled due to the fact that there is some float-only code in MDL. This also means bin/assimp and bin/unit would not link successfully with the above build flags.
* replace NULL and avoid ai_assert with more than 2 tests.Kim Kulling2020-06-231-169/+169
|\
| * Add concept of verboseDebugMalcolm Tyrrell2020-05-151-2/+2
|/
* closes https://github.com/assimp/assimp/issues/2166: add missing setter for ↵Kim Kulling2020-04-061-365/+328
| | | | metadata.
* Added missing functionalities to C API.Marc-Antoine Lortie2020-03-261-0/+595
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The C API functions that have been added are the following: Vector2: - aiVector2AreEqual - aiVector2AreEqualEpsilon - aiVector2Add - aiVector2Subtract - aiVector2Scale - aiVector2SymMul - aiVector2DivideByScalar - aiVector2DivideByVector - aiVector2Length - aiVector2SquareLength - aiVector2Negate - aiVector2DotProduct - aiVector2Normalize Vector3: - aiVector3AreEqual - aiVector3AreEqualEpsilon - aiVector3LessThan - aiVector3Add - aiVector3Subtract - aiVector3Scale - aiVector3SymMul - aiVector3DivideByScalar - aiVector3DivideByVector - aiVector3Length - aiVector3SquareLength - aiVector3Negate - aiVector3DotProduct - aiVector3CrossProduct - aiVector3Normalize - aiVector3NormalizeSafe - aiVector3RotateByQuaternion Matrix3x3: - aiMatrix3FromMatrix4 - aiMatrix3FromQuaternion - aiMatrix3AreEqual - aiMatrix3AreEqualEpsilon - aiMatrix3Inverse - aiMatrix3Determinant - aiMatrix3RotationZ - aiMatrix3FromRotationAroundAxis - aiMatrix3Translation - aiMatrix3FromTo Matrix4x4: - aiMatrix4FromMatrix3 - aiMatrix4FromScalingQuaternionPosition - aiMatrix4Add - aiMatrix4AreEqual - aiMatrix4AreEqualEpsilon - aiMatrix4Inverse - aiMatrix4Determinant - aiMatrix4IsIdentity - aiMatrix4DecomposeIntoScalingEulerAnglesPosition - aiMatrix4DecomposeIntoScalingAxisAnglePosition - aiMatrix4DecomposeNoScaling - aiMatrix4FromEulerAngles - aiMatrix4RotationX - aiMatrix4RotationY - aiMatrix4RotationZ - aiMatrix4FromRotationAroundAxis - aiMatrix4Translation - aiMatrix4Scaling - aiMatrix4FromTo Quaternion: - aiQuaternionFromEulerAngles - aiQuaternionFromAxisAngle - aiQuaternionFromNormalizedQuaternion - aiQuaternionAreEqual - aiQuaternionAreEqualEpsilon - aiQuaternionNormalize - aiQuaternionConjugate - aiQuaternionMultiply - aiQuaternionInterpolate In addition, a const qualifier has been added to aiQuaterniont::Rotate to allow call to this method via a const aiQuaterniont pointer.
* Updated copyright dates.Marc-Antoine Lortie2020-01-201-1/+1
| | | | | | | | | | Changed copyright end year to 2020 in every reference "Copyright (c) 2006-XXXX, assimp team". Changed copyright end year to 2020 in every reference "Copyright (c) 2006-XXXX, ASSIMP Development Team". Changed copyright end year to 2020 in LICENCE.rtf. Changed copyright end year in CMakeFiles.txt files and any other places referencing Assimp with a copyright start and end year.
* Fix the compile pass, still unresolved symbols.Kim Kulling2019-06-101-1/+1
|
* Reorg of code.Kim Kulling2019-06-061-0/+695