staticcheck fix
This commit is contained in:
parent
4ec5712bd3
commit
5b3c524e0a
2 changed files with 1 additions and 5 deletions
|
@ -27,7 +27,6 @@ func InitWindow(width int32, height int32, title string) {
|
|||
|
||||
// SetCallbackFunc - Sets callback function
|
||||
func SetCallbackFunc(func()) {
|
||||
return
|
||||
}
|
||||
|
||||
// ShowCursor - Shows cursor
|
||||
|
@ -87,7 +86,6 @@ func LoadDroppedFiles() []string {
|
|||
|
||||
// UnloadDroppedFiles - Unload dropped filepaths
|
||||
func UnloadDroppedFiles() {
|
||||
return
|
||||
}
|
||||
|
||||
// OpenAsset - Open asset
|
||||
|
|
|
@ -174,8 +174,6 @@ func Vector3CrossProduct(v1, v2 Vector3) Vector3 {
|
|||
|
||||
// Vector3Perpendicular - Calculate one vector perpendicular vector
|
||||
func Vector3Perpendicular(v Vector3) Vector3 {
|
||||
result := Vector3{}
|
||||
|
||||
min := math.Abs(float64(v.X))
|
||||
cardinalAxis := NewVector3(1.0, 0.0, 0.0)
|
||||
|
||||
|
@ -188,7 +186,7 @@ func Vector3Perpendicular(v Vector3) Vector3 {
|
|||
cardinalAxis = NewVector3(0.0, 0.0, 1.0)
|
||||
}
|
||||
|
||||
result = Vector3CrossProduct(v, cardinalAxis)
|
||||
result := Vector3CrossProduct(v, cardinalAxis)
|
||||
|
||||
return result
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue