refactor: initial step rewrite user frustum drawing code to debug xr camera position

This commit is contained in:
Swann Martinez
2022-03-27 17:33:13 +02:00
parent 629f2e1cdb
commit 1b614f4fb6
4 changed files with 85 additions and 68 deletions

View File

@ -68,6 +68,7 @@ stop_modal_executor = False
def draw_user(username, metadata, radius=0.01, intensity=10.0):
# TODO: Draw camera model from viewmatrix
view_corners = metadata.get('view_corners')
color = metadata.get('color', (1,1,1,0))
objects = metadata.get('selected_objects', None)