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
//VERTEX SHADER | |
#version 400 | |
//*** Uniform block definitions ************************************************ | |
//*** Input ******************************************************************** | |
//*** Output ******************************************************************* | |
//*** Uniforms ***************************************************************** |
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
//FRAGMENT SHADER | |
#version 400 | |
//*** Uniform block definitions ************************************************ | |
//*** Input ******************************************************************** | |
//*** Output ******************************************************************* | |
//*** Uniforms ***************************************************************** |
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
/* Smartphones (portrait and landscape) ----------- */ | |
@media only screen | |
and (min-device-width : 320px) | |
and (max-device-width : 480px) { | |
/* Styles */ | |
} | |
/* Smartphones (landscape) ----------- */ | |
@media only screen | |
and (min-width : 321px) { |
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 controlP5.*; | |
ControlP5 cp5; | |
void setup() | |
{ | |
size(800, 800, P2D); | |
cp5 = new ControlP5(this); | |
cp5.addSlider("slider") | |
.setRange(0, 200) |
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 controlP5.*; | |
import javax.swing.JFrame; | |
PFrame f = null; | |
Applet s; | |
ControlP5 cp5; | |
void setup() | |
{ |
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
void SimpleCube::init() | |
{ | |
//front | |
normals.emplace_back(glm::vec3(0,0,1)); | |
vertices.push_back(glm::vec3(-0.5,-0.5,0.5)); | |
vertices.push_back(glm::vec3(0.5,-0.5,0.5)); | |
vertices.push_back(glm::vec3(0.5,0.5,0.5)); | |
vertices.push_back(glm::vec3(-0.5,0.5,0.5)); | |
//side right | |
normals.emplace_back(glm::vec3(1,0,0)); |
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
https://www.dropbox.com/s/l494et4memth44a/WindowsNoEditor.7z?dl=0 |
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
/* Standard */ | |
@keyframes fadeIn { | |
to {opacity: 1.0;} | |
} | |
/* Webkit-Based (Chrome, Safari) */ | |
@-webkit-keyframes fadeIn { | |
to {opacity: 1.0;} | |
} |
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
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
OlderNewer