| 1242 | } |
| 1243 | |
| 1244 | applyMatrix(a, b, c, d, e, f) { |
| 1245 | this.states.setValue("uModelMatrix", this.states.uModelMatrix.clone()); |
| 1246 | if (arguments.length === 16) { |
| 1247 | // this.states.uModelMatrix.apply(arguments); |
| 1248 | Matrix.prototype.apply.apply(this.states.uModelMatrix, arguments); |
| 1249 | } else { |
| 1250 | this.states.uModelMatrix.apply([ |
| 1251 | a, |
| 1252 | b, |
| 1253 | 0, |
| 1254 | 0, |
| 1255 | c, |
| 1256 | d, |
| 1257 | 0, |
| 1258 | 0, |
| 1259 | 0, |
| 1260 | 0, |
| 1261 | 1, |
| 1262 | 0, |
| 1263 | e, |
| 1264 | f, |
| 1265 | 0, |
| 1266 | 1, |
| 1267 | ]); |
| 1268 | } |
| 1269 | } |
| 1270 | |
| 1271 | /** |
| 1272 | * [translate description] |