Refactor frustum drawing to use a local makeTriangle function.

PiperOrigin-RevId: 668168658
Change-Id: I0ee9038c36eb28e2c4a0a8c94bea7430f68c6b77
This commit is contained in:
Yuval Tassa
2024-08-27 15:41:36 -07:00
committed by Copybara-Service
parent ddb29e9293
commit 72a0ab145d
2 changed files with 17 additions and 12 deletions
+1
View File
@@ -11,6 +11,7 @@
<asset>
<texture name="grid" type="2d" builtin="checker" width="512" height="512" rgb1=".8 .6 .4" rgb2=".2 .3 .4"/>
<material name="grid" texture="grid" texrepeat="9 16" texuniform="false" reflectance=".2"/>
<texture type="skybox" builtin="flat" rgb1=".5 .5 1" height="1" width="1"/>
</asset>
<worldbody>