A new arcade game is coming for iOS.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Your snippets | |
| # | |
| # Atom snippets allow you to enter a simple prefix in the editor and hit tab to | |
| # expand the prefix into a larger code block with templated values. | |
| # | |
| # You can create a new snippet in this file by typing "snip" and then hitting | |
| # tab. | |
| # | |
| # An example CoffeeScript snippet to expand log to console.log: | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "directory": "src/_lib", | |
| "json": "bower.json" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //incoming values from the vertex shader stage. | |
| //if the vertices of a primitive have different values, they are interpolated! | |
| varying vec2 v_uv; | |
| uniform sampler2D texture; | |
| // setting float precision | |
| precision mediump float; | |
| void main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "Lesson02.h" | |
| #import <OpenGLES/ES2/gl.h> | |
| #import <OpenGLES/ES2/glext.h> | |
| #include <vector> | |
| Lesson02::Lesson02() | |
| : shader(NULL), | |
| texture(NULL), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef _LESSON02_H_ | |
| #define _LESSON02_H_ | |
| #include <vector> | |
| #include "Lesson.h" | |
| #include "Shader.h" | |
| #include "Texture.h" | |
| #include "Sprite.h" | |
| class Lesson02 : public Lesson |