Fix typo in NewVector3
This commit is contained in:
parent
8ac4ad95c7
commit
f081c11a32
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ func (v *Vector3) cptr() *C.Vector3 {
|
|||
|
||||
// Returns new Vector3
|
||||
func NewVector3(X, Y, Z float32) Vector3 {
|
||||
return Vector3{X, Y, X}
|
||||
return Vector3{X, Y, Z}
|
||||
}
|
||||
|
||||
// Returns new Vector3 from pointer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue