|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
<title>GLSL Editor</title>
|
|
|
|
|
<link href='/favicon.gif' rel='shortcut icon'/>
|
|
|
|
|
<!-- GLSL Canvas -->
|
|
|
|
|
<script type='text/javascript' src='https://rawgit.com/patriciogonzalezvivo/glslCanvas/master/build/GlslCanvas.min.js'></script>
|
|
|
|
|
<script type='text/javascript' src='http://patriciogonzalezvivo.com/glslCanvas/build/GlslCanvas.min.js'></script>
|
|
|
|
|
<style>
|
|
|
|
|
body {
|
|
|
|
|
height: 100%;
|
|
|
|
@ -22,8 +22,8 @@
|
|
|
|
|
<div id='glsl_editor'></div>
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
<link type='text/css' rel='stylesheet' href='https://rawgit.com/patriciogonzalezvivo/glslEditor/gh-pages/build/glslEditor.css'>
|
|
|
|
|
<script type='application/javascript' src='https://rawgit.com/patriciogonzalezvivo/glslEditor/gh-pages/build/glslEditor.js'></script>
|
|
|
|
|
<link type='text/css' rel='stylesheet' href='http://patriciogonzalezvivo.com/glslEditor/build/glslEditor.css'>
|
|
|
|
|
<script type='application/javascript' src='http://patriciogonzalezvivo.com/glslEditor/build/glslEditor.js'></script>
|
|
|
|
|
<script type='text/javascript'>
|
|
|
|
|
function loadjscssfile(filename, filetype, callback){
|
|
|
|
|
if (filetype=="js") { //if filename is a external JavaScript file
|
|
|
|
|