Просмотр исходного кода

node SetDirectionv renamed to SetDirectionVec

leonsal 8 лет назад
Родитель
Сommit
443c5907c0
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      core/node.go

+ 2 - 2
core/node.go

@@ -366,8 +366,8 @@ func (n *Node) SetDirection(x, y, z float32) {
 	n.changed = true
 	n.changed = true
 }
 }
 
 
-// SetDirection sets this node initial direction vector
-func (n *Node) SetDirectionv(vdir *math32.Vector3) {
+// SetDirectionVec sets this node initial direction vector from a pointer to Vector3
+func (n *Node) SetDirectionVec(vdir *math32.Vector3) {
 
 
 	n.direction = *vdir
 	n.direction = *vdir
 	n.changed = true
 	n.changed = true