Skip to content

Commit 09e822e

Browse files
Simon Thielemrdoob
Simon Thiele
authored andcommitted
add rotateX, rotateY and rotateZ to Object3D documentation (mrdoob#9090)
1 parent 9963eed commit 09e822e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/api/core/Object3D.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,30 @@ <h3>[method:null translateZ]( [page:Float distance] )</h3>
175175
Translates object along z axis by distance.
176176
</div>
177177

178+
<h3>[method:null rotateX]( [page:Float rad] )</h3>
179+
<div>
180+
rad - the angle to rotate in radians.<br />
181+
</div>
182+
<div>
183+
Rotates the object around x axis in local space.
184+
</div>
185+
186+
<h3>[method:null rotateY]( [page:Float rad] )</h3>
187+
<div>
188+
rad - the angle to rotate in radians.<br />
189+
</div>
190+
<div>
191+
Rotates the object around y axis in local space.
192+
</div>
193+
194+
<h3>[method:null rotateZ]( [page:Float rad] )</h3>
195+
<div>
196+
rad - the angle to rotate in radians.<br />
197+
</div>
198+
<div>
199+
Rotates the object around z axis in local space.
200+
</div>
201+
178202
<h3>[method:Vector3 localToWorld]( [page:Vector3 vector] )</h3>
179203
<div>
180204
vector - A local vector.<br />

0 commit comments

Comments
 (0)