2
0
Эх сурвалжийг харах

Reduces some extra lines.

sunag 1 жил өмнө
parent
commit
f017aa9080

+ 0 - 1
examples/jsm/nodes/math/MathNode.js

@@ -377,5 +377,4 @@ addNodeElement( 'gain', gain );
 addNodeElement( 'pcurve', pcurve );
 addNodeElement( 'sinc', sinc );
 
-
 addNodeClass( 'MathNode', MathNode );

+ 0 - 3
examples/jsm/nodes/utils/RotateNode.js

@@ -21,8 +21,6 @@ class RotateNode extends TempNode {
 
 	setup() {
 
-
-
 		const { rotationNode, positionNode } = this;
 
 		const rotation = rotationNode;
@@ -30,7 +28,6 @@ class RotateNode extends TempNode {
 		const rotationYMatrix = mat4( vec4( cos( rotation.y ), 0.0, sin( rotation.y ), 0.0 ), vec4( 0.0, 1.0, 0.0, 0.0 ), vec4( sin( rotation.y ).negate(), 0.0, cos( rotation.y ), 0.0 ), vec4( 0.0, 0.0, 0.0, 1.0 ) );
 		const rotationZMatrix = mat4( vec4( cos( rotation.z ), sin( rotation.z ).negate(), 0.0, 0.0 ), vec4( sin( rotation.z ), cos( rotation.z ), 0.0, 0.0 ), vec4( 0.0, 0.0, 1.0, 0.0 ), vec4( 0.0, 0.0, 0.0, 1.0 ) );
 
-
 		return rotationXMatrix.mul( rotationYMatrix ).mul( rotationZMatrix ).mul( vec4( positionNode, 1.0 ) ).xyz;
 
 	}