Skip to content

Commit

Permalink
Version 1.3.0 due to minor api change.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbikker committed Jan 22, 2025
1 parent ade6ea0 commit d6a6d85
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ The **performance measurement tool** can be compiled with:

````g++ -std=c++20 -mavx -Ofast tiny_bvh_speedtest.cpp -o tiny_bvh_speedtest````

# Version 1.2.7
# Version 1.3.0

Version 1.3.0 changed the names of vector math functions, which are now prepended with ````tinybvh_````, e.g. ````tinybvh_cross````, ````tinybvh_normalize````. This avoids name clashes in applications that override the vector types with their own. Basically ```tinybvh```` evades these so you don't have to.

Version 1.1.0 introduced a <ins>change to the API</ins>. The single BVH class with multiple layouts has been replaced with a BVH class per layout. You can simply instantiate the desired layout; conversion (and data ownership) is then handled properly by the library. Examples:

Expand Down
4 changes: 2 additions & 2 deletions tiny_bvh.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ THE SOFTWARE.

// library version
#define TINY_BVH_VERSION_MAJOR 1
#define TINY_BVH_VERSION_MINOR 2
#define TINY_BVH_VERSION_SUB 7
#define TINY_BVH_VERSION_MINOR 3
#define TINY_BVH_VERSION_SUB 0

// ============================================================================
//
Expand Down

0 comments on commit d6a6d85

Please sign in to comment.