make ZT def more readable

This commit is contained in:
faiface 2017-01-25 18:08:23 +01:00
parent 5ebbb3fa31
commit 82deb99e14
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ type Transform struct {
}
// ZT stands for Zero-Transform. This Transform is a neutral Transform, does not change anything.
var ZT = Transform{sca: V(1, 1)}
var ZT = Transform{}.Scale(1)
// Position returns a Zero-Transform with Position set to pos.
func Position(pos Vec) Transform {