-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add functionality for rendering lines in 3-D
* prefix the existing subroutines `ToViewSpace`, `ToClipSpace` by `Tri` to designate they're associated with triangles in particular * export the default basis vectors `R_Right`, `R_Down`, and `R_Fwd` from `r_camera.ts` * add new subroutines `R_VecToViewSpace` and `R_VecToClipSpace` that transform the given vector to respective coordinate spaces * add a new subroutine `R_RenderLine` that renders a given line in 3-D * replace the old subroutine `R_DebugAxes` with the new `R_RenderDebugAxes` which uses the aforementioned subroutine `R_RenderLine`
- Loading branch information
Showing
3 changed files
with
128 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters