mrdoob / texgen.js

JavaScript Texture Generator
http://texgenjs.org/
MIT License
1.8k stars 130 forks source link

TG.Transform #12

Closed fernandojsg closed 9 years ago

fernandojsg commented 9 years ago

TG.transform().offset(x,y).rotate(degrees).zoom(level)

fernandojsg commented 9 years ago

Added .flipH(true) and .flipV(true). It thought also flip(true,false) but I think it's easier to understand using different functions