Skip to content

Commit

Permalink
cleanup: Remove editor transform overloads, surface props, table heig…
Browse files Browse the repository at this point in the history
…ht, and merged z-pos into pos where possible.
  • Loading branch information
freezy committed Nov 29, 2024
1 parent eb1b345 commit e676c75
Show file tree
Hide file tree
Showing 39 changed files with 329 additions and 1,393 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ private void Awake()
_ltw = Physics.VpxToWorld;
_wtl = Physics.WorldToVpx;

var z = _playfield.PlayfieldHeight;
var p1 = _ltw.MultiplyPoint(new Vector3(-100f, 100f, z));
var p2 = _ltw.MultiplyPoint(new Vector3(100f, 100f, z));
var p3 = _ltw.MultiplyPoint(new Vector3(100f, -100f, z));
var p1 = _ltw.MultiplyPoint(new Vector3(-100f, 100f, 0));
var p2 = _ltw.MultiplyPoint(new Vector3(100f, 100f, 0));
var p3 = _ltw.MultiplyPoint(new Vector3(100f, -100f, 0));
_playfieldPlane.Set3Points(p1, p2, p3);
_physicsEngine = GetComponentInChildren<PhysicsEngine>();
}
Expand Down
Loading

0 comments on commit e676c75

Please sign in to comment.