This file contains 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 <iostream> | |
#include <string> | |
#include <GL/glew.h> | |
#include <SFML/Graphics.hpp> | |
//////////Vertex And Fragment Shaders////////// | |
const GLchar* vertexShaderSource = | |
"#version 330 core\n" | |
"layout (location = 0) in vec3 position;\n" |
This file contains 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 <GL/glew.h> | |
#include <SFML/Graphics.hpp> | |
#include <iostream> | |
const char* vertexShaderSource = | |
"#version 330 core\n" | |
"layout (location = 0) in vec3 position;\n" | |
"void main() {\n" | |
" gl_Position = vec4(position.x, position.y, position.z, 1.0);\n" |
This file contains 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 <GL/glew.h> | |
#include <SFML/Graphics.hpp> | |
#include <iostream> | |
const char* vertexShaderSource = | |
"#version 330 core\n" | |
"layout (location = 0) in vec3 position;\n" | |
"void main() {\n" | |
" gl_Position = vec4(position.x, position.y, position.z, 1.0);\n" |
This file contains 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 <GL/glew.h> | |
#include <SFML/Graphics.hpp> | |
#include <iostream> | |
const char* vertexShaderSource = | |
"#version 330 core\n" | |
"layout (location = 0) in vec3 position;\n" | |
"void main() {\n" | |
" gl_Position = vec4(position.x, position.y, position.z, 1.0);\n" |
This file contains 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 <GL/glew.h> | |
#include <SFML/Graphics.hpp> | |
#include <iostream> | |
#include <math.h> | |
const char* vertexShaderSource = | |
"#version 330 core\n" | |
"layout (location = 0) in vec3 position;\n" | |
"void main() {\n" |
This file contains 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 <iostream> | |
#include <string> | |
#include <GL/glew.h> | |
#include <fstream> | |
class compile_shader { | |
public: | |
GLuint vertexShaderID; | |
GLuint fragmentShaderID; |
This file contains 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 <GL/glew.h> | |
#include <SFML/Graphics.hpp> | |
#include <iostream> | |
#include <string> | |
#include <shader_compiler.h> | |
int main() { | |
using namespace sf; | |
RenderWindow window(VideoMode(800, 800), "Alex Mercer", Style::Default); |
This file contains 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 <GL/glew.h> | |
#include <SFML/Graphics.hpp> | |
#include <iostream> | |
#include <string> | |
#include <shader_compiler.h> | |
int main() { | |
using namespace sf; | |
RenderWindow window(VideoMode(800, 800), "Alex Mercer", Style::Default); |
This file contains 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
//github.com/alexmercerind | |
let axios = require('axios'); | |
function search(mode, keyword) { | |
axios.get(`https://www.jiosaavn.com/search/${mode}/${keyword}`) | |
.then((response, resolve, reject) => { | |
let page_source = (response.data).split(","); | |
let id_array = []; |
This file contains 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
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(new Application()); | |
} | |
class Counter extends StatefulWidget { | |
final String name; | |
Counter(this.name); |
OlderNewer