Commit 85409eb
committed
Fix raycast lens distortion offset
If we are raycasting a 3D transform onto a surface, our first step is to
get the screen-space position of the input transform.
The input transform is the marker node, which (if there is a lens model
node attached to the camera) will be automatically undistorted.
Therefore, it seems that we don't need to perform any lens
re/un-distortion at all.1 parent fd1c63b commit 85409eb
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
187 | 191 | | |
188 | 192 | | |
189 | 193 | | |
| |||
0 commit comments