Skip to content

add Gizmo widget and example for it #894

add Gizmo widget and example for it

add Gizmo widget and example for it #894

Triggered via pull request October 30, 2024 09:35
Status Failure
Total duration 1m 19s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: Gizmo.go#L92
exported: comment on exported method GizmoWidget.Disabled should be of the form "Disabled ..." (revive)
Lint: ExtraWidgets.go#L149
exported: exported method CustomWidget.Gizmo should have comment or be unexported (revive)
Lint: Gizmo.go#L340
exported: comment on exported method ViewMatrix.Transform should be of the form "Transform ..." (revive)
Lint: Gizmo.go#L377
exported: comment on exported method ViewMatrix.Copy should be of the form "Copy ..." (revive)
Lint: Gizmo.go#L419
exported: exported method ViewMatrix.MatrixSlice should have comment or be unexported (revive)
Lint: Gizmo.go#L288
unused-parameter: parameter 'projection' seems to be unused, consider removing or renaming it as _ (revive)
Lint: examples/gizmo/main.go#L1
package-comments: should have a package comment (revive)
Lint: Gizmo.go#L264
composites: github.com/AllenDang/cimgui-go/imgui.Vec2 struct literal uses unkeyed fields (govet)
Lint: Gizmo.go#L265
composites: github.com/AllenDang/cimgui-go/imgui.Vec2 struct literal uses unkeyed fields (govet)
Lint: Gizmo.go#L271
composites: github.com/AllenDang/cimgui-go/imgui.Vec2 struct literal uses unkeyed fields (govet)