Skip to content

Commit e40c38d

Browse files
committed
Merge branch 'master' into erfan_cubemap_render
2 parents 2ba38fe + 2981239 commit e40c38d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples_tests/22.RaytracedAO/test.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@echo off
22

33
set pathtracer="%~dp0/bin/raytracedao.exe"
4+
set scenesInput="%~dp0/test_scenes.txt"
45

56
pushd bin
67
if NOT EXIST %pathtracer% (
@@ -10,7 +11,7 @@ if NOT EXIST %pathtracer% (
1011
)
1112
popd
1213

13-
for /f "tokens=*" %%s in ('findstr /v /c:";" test_scenes.txt') do (
14+
for /f "tokens=*" %%s in ('findstr /v /c:";" %scenesInput%') do (
1415
REM echo %%s
1516
Call :render_and_denoise %%s
1617
)

include/matrix4x3.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ namespace core
162162
//! Make a rotation matrix from Euler angles. The 4th row and column are unmodified.
163163
inline matrix4x3& setRotationDegrees( const vector3df& rotation )
164164
{
165-
return setRotationRadians( radians<vector3df>(rotation) );
165+
return setRotationRadians(vector3df(radians(rotation.X), radians(rotation.Y), radians(rotation.Z)));
166166
}
167167

168168
//! Returns the rotation, as set by setRotation().

0 commit comments

Comments
 (0)