@@ -137,25 +137,25 @@ class Tutorial : public TutorialBase
137137
138138 constexpr float Offset = 0 .3f ;
139139 hiprtFrameSRT frames[5 ];
140- frames[0 ].translation = make_hiprtFloat3 ( -0 .25f , -Offset, 0 .0f ) ;
141- frames[0 ].scale = make_hiprtFloat3 ( 1 .0f , 1 .0f , 1 .0f ) ;
142- frames[0 ].rotation = make_hiprtFloat4 ( 0 .0f , 0 .0f , 1 .0f , 0 .0f ) ;
140+ frames[0 ].translation = { -0 .25f , -Offset, 0 .0f } ;
141+ frames[0 ].scale = { 1 .0f , 1 .0f , 1 .0f } ;
142+ frames[0 ].rotation = { 0 .0f , 0 .0f , 1 .0f , 0 .0f } ;
143143 frames[0 ].time = 0 .0f ;
144- frames[1 ].translation = make_hiprtFloat3 ( 0 .0f , -Offset, 0 .0f ) ;
145- frames[1 ].scale = make_hiprtFloat3 ( 1 .0f , 1 .0f , 1 .0f ) ;
146- frames[1 ].rotation = make_hiprtFloat4 ( 0 .0f , 0 .0f , 1 .0f , 0 .0f ) ;
144+ frames[1 ].translation = { 0 .0f , -Offset, 0 .0f } ;
145+ frames[1 ].scale = { 1 .0f , 1 .0f , 1 .0f } ;
146+ frames[1 ].rotation = { 0 .0f , 0 .0f , 1 .0f , 0 .0f } ;
147147 frames[1 ].time = 0 .35f ;
148- frames[2 ].translation = make_hiprtFloat3 ( 0 .25f , -Offset, 0 .0f ) ;
149- frames[2 ].scale = make_hiprtFloat3 ( 1 .0f , 1 .0f , 1 .0f ) ;
150- frames[2 ].rotation = make_hiprtFloat4 ( 0 .0f , 0 .0f , 1 .0f , hiprt::Pi * 0 .25f ) ;
148+ frames[2 ].translation = { 0 .25f , -Offset, 0 .0f } ;
149+ frames[2 ].scale = { 1 .0f , 1 .0f , 1 .0f } ;
150+ frames[2 ].rotation = { 0 .0f , 0 .0f , 1 .0f , hiprt::Pi * 0 .25f } ;
151151 frames[2 ].time = 1 .0f ;
152- frames[3 ].translation = make_hiprtFloat3 ( 0 .0f , Offset, 0 .0f ) ;
153- frames[3 ].scale = make_hiprtFloat3 ( 1 .0f , 1 .0f , 1 .0f ) ;
154- frames[3 ].rotation = make_hiprtFloat4 ( 0 .0f , 0 .0f , 1 .0f , 0 .f ) ;
152+ frames[3 ].translation = { 0 .0f , Offset, 0 .0f } ;
153+ frames[3 ].scale = { 1 .0f , 1 .0f , 1 .0f } ;
154+ frames[3 ].rotation = { 0 .0f , 0 .0f , 1 .0f , 0 .f } ;
155155 frames[3 ].time = 0 .0f ;
156- frames[4 ].translation = make_hiprtFloat3 ( 0 .0f , Offset, 0 .0f ) ;
157- frames[4 ].scale = make_hiprtFloat3 ( 1 .0f , 1 .0f , 1 .0f ) ;
158- frames[4 ].rotation = make_hiprtFloat4 ( 0 .0f , 0 .0f , 1 .0f , hiprt::Pi * 0 .5f ) ;
156+ frames[4 ].translation = { 0 .0f , Offset, 0 .0f } ;
157+ frames[4 ].scale = { 1 .0f , 1 .0f , 1 .0f } ;
158+ frames[4 ].rotation = { 0 .0f , 0 .0f , 1 .0f , hiprt::Pi * 0 .5f } ;
159159 frames[4 ].time = 1 .0f ;
160160
161161 sceneInput.frameCount = 5 ;
0 commit comments