From fcc0bb470c5b04e167e64210cd171c83387ad8cc Mon Sep 17 00:00:00 2001 From: gucio321 Date: Wed, 30 Oct 2024 07:46:25 +0100 Subject: [PATCH] gizmo: update example --- examples/gizmo/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/gizmo/main.go b/examples/gizmo/main.go index 0d028d88..512124de 100644 --- a/examples/gizmo/main.go +++ b/examples/gizmo/main.go @@ -8,7 +8,7 @@ import ( ) var ( - view = giu.NewHumanReadableMatrix(). + view = giu.NewViewMatrix(). Transform(0, 0, -7). Rotation(10, 5, 0). Scale(1, 1, 1) @@ -17,10 +17,10 @@ var ( FOV(giu.Deg2Rad(30)). Aspect(1280.0 / 720.0) - cube = giu.NewHumanReadableMatrix(). + cube = giu.NewViewMatrix(). Transform(0.5, 0.5, 0.5). Rotation(0, 0, 0). - Scale(1, 1, 1) + Scale(1, 2, 1) zmoOP = int32(imguizmo.TRANSLATE) zmoMODE = int32(imguizmo.LOCAL)