From 32f71397c591a62ff555b1463025184720cce9ea Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Mon, 20 Apr 2020 16:51:24 -0700 Subject: [PATCH] convert tabs to blanks in FixedScale100.frag --- .../MatDefs/ShaderNodes/Common/FixedScale100.frag | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/jme3-core/src/main/resources/Common/MatDefs/ShaderNodes/Common/FixedScale100.frag b/jme3-core/src/main/resources/Common/MatDefs/ShaderNodes/Common/FixedScale100.frag index 98a05d116..5e044b6c0 100644 --- a/jme3-core/src/main/resources/Common/MatDefs/ShaderNodes/Common/FixedScale100.frag +++ b/jme3-core/src/main/resources/Common/MatDefs/ShaderNodes/Common/FixedScale100.frag @@ -1,8 +1,8 @@ void main(){ - vec4 worldPos = worldMatrix * vec4(0.0, 0.0, 0.0, 1.0); - vec3 dir = worldPos.xyz - cameraPos; - float distance = dot(cameraDir, dir); - float m11 = projectionMatrix[1][1]; - float halfHeight = (viewport.w - viewport.y) * 0.5; - scale = ((distance/halfHeight) * spriteHeight)/m11; + vec4 worldPos = worldMatrix * vec4(0.0, 0.0, 0.0, 1.0); + vec3 dir = worldPos.xyz - cameraPos; + float distance = dot(cameraDir, dir); + float m11 = projectionMatrix[1][1]; + float halfHeight = (viewport.w - viewport.y) * 0.5; + scale = ((distance/halfHeight) * spriteHeight)/m11; }