File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
examples_tests/22.RaytracedAO Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
@ echo off
2
2
3
3
set pathtracer = " %~dp0 /bin/raytracedao.exe"
4
+ set scenesInput = " %~dp0 /test_scenes.txt"
4
5
5
6
pushd bin
6
7
if NOT EXIST %pathtracer% (
@@ -10,7 +11,7 @@ if NOT EXIST %pathtracer% (
10
11
)
11
12
popd
12
13
13
- for /f " tokens=*" %%s in ('findstr /v /c:" ;" test_scenes.txt ') do (
14
+ for /f " tokens=*" %%s in ('findstr /v /c:" ;" %scenesInput% ') do (
14
15
REM echo %%s
15
16
Call :render_and_denoise %%s
16
17
)
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ namespace core
162
162
// ! Make a rotation matrix from Euler angles. The 4th row and column are unmodified.
163
163
inline matrix4x3& setRotationDegrees ( const vector3df& rotation )
164
164
{
165
- return setRotationRadians ( radians<vector3df> (rotation) );
165
+ return setRotationRadians (vector3df ( radians (rotation. X ), radians (rotation. Y ), radians (rotation. Z )) );
166
166
}
167
167
168
168
// ! Returns the rotation, as set by setRotation().
You can’t perform that action at this time.
0 commit comments