Permalink
Browse files

Update to new version of YUI 3.11.0

  • Loading branch information...
mortennobel committed Jul 19, 2013
1 parent 45474ea commit b596cf5e29785e89327a625f023882419b887b33
Showing with 6,379 additions and 454 deletions.
  1. +2 −2 example/built-in_shaders/built-in_shaders.html
  2. +2 −2 example/chess/chess.html
  3. +2 −2 example/cloth_simulation/cloth_simulation.html
  4. +3,738 −81 example/common/dat.gui.min.js
  5. +2 −2 example/head-modifier/head-modifier.html
  6. +2 −2 example/snake/snake.html
  7. +2 −2 example/video_ascii_art/Video_Ascii_Art.html
  8. +2 −2 example/webcam_ascii_art/Webcam_Ascii_Art.html
  9. +1 −2 test/benchmark/multiple_cubes.html
  10. +39 −0 test/expose_webgl_constants.html
  11. +2 −2 test/serialization/componentReferenceTest.html
  12. +2 −2 test/serialization/gameObjectReferenceTest.html
  13. +2 −2 test/serialization/projectTest.html
  14. +2,443 −0 test/testdata/unity_animation_data_converter.html
  15. +2 −2 test/unittest/JSPerformanceTest.html
  16. +2 −2 test/unittest/PerformanceTest.html
  17. +2 −2 test/unittest/animationtest.html
  18. +0 −2 test/unittest/animationtest.js
  19. +2 −2 test/unittest/chunkDataTest.html
  20. +2 −2 test/unittest/engineTest.html
  21. +2 −2 test/unittest/mathtest.html
  22. +2 −2 test/unittest/meshTest.html
  23. +2 −2 test/unittest/obj-importTest.html
  24. +2 −2 test/unittest/utilTest.html
  25. +0 −288 test/visual_tests/animation_plot_test.html
  26. +1 −1 test/visual_tests/animation_scene.html
  27. +1 −1 test/visual_tests/defaultMaterialTest.html
  28. +1 −1 test/visual_tests/meshMaterial.html
  29. +1 −1 test/visual_tests/motion_camera.html
  30. +3 −9 test/visual_tests/pick_test2.html
  31. +1 −1 test/visual_tests/replacementMaterial.html
  32. +1 −1 test/visual_tests/rotating_camera.html
  33. +2 −2 tool/extension_viewer/extension_viewer.html
  34. +2 −2 tool/model_tool/model_tool.html
  35. +59 −1 tool/particle_system/js/DataContainer.js
  36. +13 −2 tool/particle_system/js/GUI.js
  37. +21 −2 tool/particle_system/js/particle_system.js
  38. +4 −8 tool/particle_system/particle_system.html
  39. +6 −6 tool/shader_editor/exampleShaders.js
  40. +1 −1 tool/shader_editor/js/shader_editor.js
  41. +2 −2 tool/shader_editor/shader_editor.html
  42. +1 −2 tool/shader_editor/shaders/default_frag.glsl
@@ -3,8 +3,8 @@
<html>
<head>
<title>KickJS built-in shaders</title>
- <link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.10.1/cssreset/cssreset-min.css&3.10.1/cssfonts/cssfonts-min.css&3.10.1/cssgrids/cssgrids-min.css&3.10.1/cssbase/cssbase-min.css&3.10.1/cssbutton/cssbutton-min.css">
- <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.10.1/yui/yui-min.js"></script>
+ <link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.11.0/cssreset/cssreset-min.css&3.11.0/cssfonts/cssfonts-min.css&3.11.0/cssgrids/cssgrids-min.css&3.11.0/cssbase/cssbase-min.css&3.11.0/cssbutton/cssbutton-min.css">
+ <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.11.0/yui/yui-min.js"></script>
<link href='http://fonts.googleapis.com/css?family=Coustard:400,900' rel='stylesheet' type='text/css'>
<link href='/style.css' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="../common/common.js"></script>
View
@@ -3,8 +3,8 @@
<html>
<head>
<title>KickJS chess</title>
- <link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.10.1/cssreset/cssreset-min.css&3.10.1/cssfonts/cssfonts-min.css&3.10.1/cssgrids/cssgrids-min.css&3.10.1/cssbase/cssbase-min.css&3.10.1/cssbutton/cssbutton-min.css">
- <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.10.1/yui/yui-min.js"></script>
+ <link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.11.0/cssreset/cssreset-min.css&3.11.0/cssfonts/cssfonts-min.css&3.11.0/cssgrids/cssgrids-min.css&3.11.0/cssbase/cssbase-min.css&3.11.0/cssbutton/cssbutton-min.css">
+ <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.11.0/yui/yui-min.js"></script>
<link href='http://fonts.googleapis.com/css?family=Coustard:400,900' rel='stylesheet' type='text/css'>
<link href='/style.css' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="../common/common.js"></script>
@@ -3,8 +3,8 @@
<html>
<head>
<title>KickJS cloth simulation</title>
- <link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.10.1/cssreset/cssreset-min.css&3.10.1/cssfonts/cssfonts-min.css&3.10.1/cssgrids/cssgrids-min.css&3.10.1/cssbase/cssbase-min.css&3.10.1/cssbutton/cssbutton-min.css">
- <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.10.1/yui/yui-min.js"></script>
+ <link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.11.0/cssreset/cssreset-min.css&3.11.0/cssfonts/cssfonts-min.css&3.11.0/cssgrids/cssgrids-min.css&3.11.0/cssbase/cssbase-min.css&3.11.0/cssbutton/cssbutton-min.css">
+ <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.11.0/yui/yui-min.js"></script>
<link href='http://fonts.googleapis.com/css?family=Coustard:400,900' rel='stylesheet' type='text/css'>
<link href='/style.css' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="../common/common.js"></script>
View

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -5,7 +5,7 @@
<meta charset=UTF-8>
<title>Kick.js | Head modifier</title>
- <link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.10.1/cssreset/cssreset-min.css&3.10.1/cssfonts/cssfonts-min.css&3.10.1/cssgrids/cssgrids-min.css&3.10.1/cssbase/cssbase-min.css&3.10.1/cssbutton/cssbutton-min.css">
+ <link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.11.0/cssreset/cssreset-min.css&3.11.0/cssfonts/cssfonts-min.css&3.11.0/cssgrids/cssgrids-min.css&3.11.0/cssbase/cssbase-min.css&3.11.0/cssbutton/cssbutton-min.css">
<style>
#glslEditor {
position: absolute;
@@ -58,7 +58,7 @@
width:200px;
}
</style>
- <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.10.1/yui/yui-min.js"></script>
+ <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.11.0/yui/yui-min.js"></script>
<link rel="stylesheet" href="reset-min.css">
<link href='http://fonts.googleapis.com/css?family=Coustard:400,900' rel='stylesheet' type='text/css'>
<link href='/style.css' rel='stylesheet' type='text/css'>
View
@@ -5,8 +5,8 @@
<meta charset=UTF-8”>
<title>Kick.js | Snake</title>
- <link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.10.1/cssreset/cssreset-min.css&3.10.1/cssfonts/cssfonts-min.css&3.10.1/cssgrids/cssgrids-min.css&3.10.1/cssbase/cssbase-min.css&3.10.1/cssbutton/cssbutton-min.css">
- <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.10.1/yui/yui-min.js"></script>
+ <link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.11.0/cssreset/cssreset-min.css&3.11.0/cssfonts/cssfonts-min.css&3.11.0/cssgrids/cssgrids-min.css&3.11.0/cssbase/cssbase-min.css&3.11.0/cssbutton/cssbutton-min.css">
+ <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.11.0/yui/yui-min.js"></script>
<!-- Google analytics-->
<script type="text/javascript" src="../common/common.js"></script>
@@ -5,7 +5,7 @@
<meta charset=UTF-8”>
<title>Kick.js | Video Ascii Art</title>
- <link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.10.1/cssreset/cssreset-min.css&3.10.1/cssfonts/cssfonts-min.css&3.10.1/cssgrids/cssgrids-min.css&3.10.1/cssbase/cssbase-min.css&3.10.1/cssbutton/cssbutton-min.css">
+ <link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.11.0/cssreset/cssreset-min.css&3.11.0/cssfonts/cssfonts-min.css&3.11.0/cssgrids/cssgrids-min.css&3.11.0/cssbase/cssbase-min.css&3.11.0/cssbutton/cssbutton-min.css">
<style>
#glslEditor {
position: absolute;
@@ -58,7 +58,7 @@
width:200px;
}
</style>
- <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.10.1/yui/yui-min.js"></script>
+ <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.11.0/yui/yui-min.js"></script>
<link rel="stylesheet" href="reset-min.css">
<link href='http://fonts.googleapis.com/css?family=Coustard:400,900' rel='stylesheet' type='text/css'>
@@ -5,7 +5,7 @@
<meta charset=UTF-8”>
<title>Kick.js | WebCam Ascii Art</title>
- <link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.10.1/cssreset/cssreset-min.css&3.10.1/cssfonts/cssfonts-min.css&3.10.1/cssgrids/cssgrids-min.css&3.10.1/cssbase/cssbase-min.css&3.10.1/cssbutton/cssbutton-min.css">
+ <link rel="stylesheet" href="http://yui.yahooapis.com/combo?3.11.0/cssreset/cssreset-min.css&3.11.0/cssfonts/cssfonts-min.css&3.11.0/cssgrids/cssgrids-min.css&3.11.0/cssbase/cssbase-min.css&3.11.0/cssbutton/cssbutton-min.css">
<style>
#glslEditor {
position: absolute;
@@ -58,7 +58,7 @@
width:200px;
}
</style>
- <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.10.1/yui/yui-min.js"></script>
+ <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.11.0/yui/yui-min.js"></script>
<link rel="stylesheet" href="reset-min.css">
<link href='http://fonts.googleapis.com/css?family=Coustard:400,900' rel='stylesheet' type='text/css'>
@@ -147,9 +147,8 @@ <h2>Show data</h2>
}
</textarea>
<textarea style="width:500px;height:150px;" id="fragmentShader">
- #ifdef GL_ES
precision highp float;
- #endif
+
varying vec3 vColor;
void main(void)
{
@@ -10,6 +10,7 @@
<body>
<canvas id="canvas" style="border: none;" width="300" height="300"></canvas>
<br/>
+GL-constants written to console
<script type="text/javascript">
var req = require.config({
baseUrl: 'js/lib',
@@ -48,6 +49,44 @@
writeEnum("VERTEX_ARRAY_BINDING_OES", 34229);
writeEnum("FRAGMENT_SHADER_DERIVATIVE_HINT_OES", 35723);
writeEnum("HALF_FLOAT_OES", 0x8D61);
+
+ //writeEnum("COLOR_ATTACHMENT0", 0x8CE0);
+ writeEnum("COLOR_ATTACHMENT1", 0x8CE1);
+ writeEnum("COLOR_ATTACHMENT2", 0x8CE2);
+ writeEnum("COLOR_ATTACHMENT3", 0x8CE3);
+ writeEnum("COLOR_ATTACHMENT4", 0x8CE4);
+ writeEnum("COLOR_ATTACHMENT5", 0x8CE5);
+ writeEnum("COLOR_ATTACHMENT6", 0x8CE6);
+ writeEnum("COLOR_ATTACHMENT7", 0x8CE7);
+ writeEnum("COLOR_ATTACHMENT8", 0x8CE8);
+ writeEnum("COLOR_ATTACHMENT9", 0x8CE9);
+ writeEnum("COLOR_ATTACHMENT10", 0x8CEA);
+ writeEnum("COLOR_ATTACHMENT11", 0x8CEB);
+ writeEnum("COLOR_ATTACHMENT12", 0x8CEC);
+ writeEnum("COLOR_ATTACHMENT13", 0x8CED);
+ writeEnum("COLOR_ATTACHMENT14", 0x8CEE);
+ writeEnum("COLOR_ATTACHMENT15", 0x8CEF);
+
+ writeEnum("DRAW_BUFFER0", 0x8825);
+ writeEnum("DRAW_BUFFER1", 0x8826);
+ writeEnum("DRAW_BUFFER2", 0x8827);
+ writeEnum("DRAW_BUFFER3", 0x8828);
+ writeEnum("DRAW_BUFFER4", 0x8829);
+ writeEnum("DRAW_BUFFER5", 0x882A);
+ writeEnum("DRAW_BUFFER6", 0x882B);
+ writeEnum("DRAW_BUFFER7", 0x882C);
+ writeEnum("DRAW_BUFFER8", 0x882D);
+ writeEnum("DRAW_BUFFER9", 0x882E);
+ writeEnum("DRAW_BUFFER10", 0x882F);
+ writeEnum("DRAW_BUFFER11", 0x8830);
+ writeEnum("DRAW_BUFFER12", 0x8831);
+ writeEnum("DRAW_BUFFER13", 0x8832);
+ writeEnum("DRAW_BUFFER14", 0x8833);
+ writeEnum("DRAW_BUFFER15", 0x8834);
+
+ writeEnum("MAX_COLOR_ATTACHMENTS", 0x8CDF);
+ writeEnum("MAX_DRAW_BUFFERS", 0x8824);
+
}
initKick();
@@ -1,8 +1,8 @@
<html>
<head>
<title></title>
- <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.0/build/cssgrids/grids-min.css">
- <script src="http://yui.yahooapis.com/3.9.0/build/yui/yui-min.js"></script>
+ <link rel="stylesheet" href="http://yui.yahooapis.com/3.11.0/build/cssgrids/grids-min.css">
+ <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.11.0/yui/yui-min.js"></script>
<script type="text/javascript" src="../../src/js-dependencies/webgl-debug.js"></script>
<script type="text/javascript" src="../../src/js/constants.js"></script>
<script type="text/javascript" src="../../src/js/glslconstants.js"></script>
@@ -1,8 +1,8 @@
<html>
<head>
<title></title>
- <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.0/build/cssgrids/grids-min.css">
- <script src="http://yui.yahooapis.com/3.9.0/build/yui/yui-min.js"></script>
+ <link rel="stylesheet" href="http://yui.yahooapis.com/3.11.0/build/cssgrids/grids-min.css">
+ <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.11.0/yui/yui-min.js"></script>
<script type="text/javascript" src="../../src/js-dependencies/webgl-debug.js"></script>
<script type="text/javascript" src="../../src/js/constants.js"></script>
<script type="text/javascript" src="../../src/js/glslconstants.js"></script>
@@ -1,8 +1,8 @@
<html>
<head>
<title></title>
- <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.0/build/cssgrids/grids-min.css">
- <script src="http://yui.yahooapis.com/3.9.0/build/yui/yui-min.js"></script>
+ <link rel="stylesheet" href="http://yui.yahooapis.com/3.11.0/build/cssgrids/grids-min.css">
+ <script type="text/javascript" src="http://yui.yahooapis.com/combo?3.11.0/yui/yui-min.js"></script>
<script type="text/javascript" src="../../src/js-dependencies/webgl-debug.js"></script>
<script type="text/javascript" src="../../src/js/constants.js"></script>
<script type="text/javascript" src="../../src/js/glslconstants.js"></script>
Oops, something went wrong.

0 comments on commit b596cf5

Please sign in to comment.