UNPKG

ami.js

Version:

<p align="center"> <img src="https://cloud.githubusercontent.com/assets/214063/23213764/78ade038-f90c-11e6-8208-4fcade5f3832.png" width="60%"> </p>

18 lines (14 loc) 255 B
export default class ShadersVertex { compute() { return ` varying vec4 vPos; // // main // void main() { vPos = modelMatrix * vec4(position, 1.0 ); gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0 ); } `; } }