refactoring scene rendering

This commit is contained in:
antopilo
2021-09-20 06:49:45 -04:00
parent 519d9165e1
commit 4d1e134eaa
44 changed files with 604 additions and 826 deletions

View File

@@ -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