diff --git a/README.md b/README.md index 3f11992..d993783 100644 --- a/README.md +++ b/README.md @@ -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 change to the API. 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: diff --git a/tiny_bvh.h b/tiny_bvh.h index b12b233..51d8daa 100644 --- a/tiny_bvh.h +++ b/tiny_bvh.h @@ -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 // ============================================================================ //