Browse Source

Billboard : Remove dead code

TothBenoit 10 months ago
parent
commit
6bb5a2c6ed
1 changed files with 0 additions and 2 deletions
  1. 0 2
      hrt/prefab/fx/Billboard.hx

+ 0 - 2
hrt/prefab/fx/Billboard.hx

@@ -32,8 +32,6 @@ class BillboardObject extends h3d.scene.Object {
 		fwd.load(camera.target.sub(camera.pos));
 		fwd.normalize();
 
-		var curFwd = getLocalDirection();
-		curFwd.normalize();
 		if (LockX)
 			fwd.x = initFwd.x;
 		if (LockY)