Skip to content

Commit

Permalink
gizmo: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
gucio321 committed Oct 30, 2024
1 parent dba7bfb commit fcc0bb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/gizmo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

var (
view = giu.NewHumanReadableMatrix().
view = giu.NewViewMatrix().
Transform(0, 0, -7).
Rotation(10, 5, 0).
Scale(1, 1, 1)
Expand All @@ -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)
Expand Down

0 comments on commit fcc0bb4

Please sign in to comment.