File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,9 @@ The app only supports loading of pure triangle .obj meshes. The list of supporte
144
144
- dds (limited support)
145
145
- tga
146
146
147
+ ## Run unit tests
148
+ They need to be run from the <Radeon Rays_SDK path >/UnitTest path.
149
+ Premake should be runned with the ` --safe_math ` option.
147
150
148
151
# Hardware support
149
152
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ namespace RadeonRays
181
181
182
182
inline float4 operator * (matrix const & m, float4 const & v)
183
183
{
184
- float4 res { 0 , 0 , 0 , 0 } ;
184
+ float4 res ( 0 , 0 , 0 , 0 ) ;
185
185
186
186
for (int i = 0 ; i < 4 ; ++i) {
187
187
// res[i] = 0.f;
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ THE SOFTWARE.
28
28
#include " math/matrix.h"
29
29
#include " math/ray.h"
30
30
#include " math/mathutils.h"
31
+ #include < cstdint>
31
32
32
33
#define RADEONRAYS_API_VERSION 2.0
33
34
You can’t perform that action at this time.
0 commit comments