Commit bcced33
committed
Fixing a really bad bug in InPlaneSlice
- Bug was causing the forward direction to be incorrectly calculated because you can't pass normalized vectors through W2T or T2W!!
- Fixed by calculating a point in TransformedWorld space to represent the up and forward directions and then returning those in normalized UnityWorld coordinates1 parent be76164 commit bcced33
2 files changed
Lines changed: 5 additions & 11 deletions
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
783 | 783 | | |
784 | 784 | | |
785 | 785 | | |
| 786 | + | |
786 | 787 | | |
787 | | - | |
788 | | - | |
789 | | - | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
790 | 791 | | |
791 | 792 | | |
792 | 793 | | |
| |||
823 | 824 | | |
824 | 825 | | |
825 | 826 | | |
826 | | - | |
| 827 | + | |
827 | 828 | | |
828 | 829 | | |
829 | 830 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | 106 | | |
112 | 107 | | |
113 | 108 | | |
| |||
122 | 117 | | |
123 | 118 | | |
124 | 119 | | |
125 | | - | |
126 | | - | |
127 | 120 | | |
128 | 121 | | |
129 | 122 | | |
| |||
0 commit comments