mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
refactoring scene rendering
This commit is contained in:
@@ -107,7 +107,7 @@ class Vector3 {
|
||||
}
|
||||
|
||||
Normalize() {
|
||||
var length = this.Sqrt()
|
||||
var length = this.Length()
|
||||
var x = _x / length
|
||||
var y = _y / length
|
||||
var z = _z / length
|
||||
|
||||
Reference in New Issue
Block a user