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
| -- Billiard | |
| function setup() | |
| parameter.watch("X") | |
| parameter.watch("Y") | |
| parameter.watch("MASS") | |
| parameter.watch("VX") | |
| parameter.watch("VY") | |
| balls = {} |
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
| <!DOCTYPE html> | |
| <html lang="ko"> | |
| <title>Bounce</title> | |
| <meta name="keywords" content="bs5" /> | |
| <meta name="description" content="bs5 Test suite" /> | |
| <meta charset="utf-8"/> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <meta name="format-detection" content="telephone=no" /> | |
| <meta name="apple-mobile-web-app-capable" content="yes" /> | |
| <meta name="apple-mobile-web-app-status-bar-style" content="black" /> |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using MonoTouch.Foundation; | |
| using MonoTouch.UIKit; | |
| namespace AppLifeCycleMethods | |
| { | |
| [Register ("AppDelegate")] | |
| public partial class AppDelegate : UIApplicationDelegate |
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
| package | |
| { | |
| import flash.display.Sprite; | |
| import flash.external.ExternalInterface; | |
| public class DebugConsole extends Sprite | |
| { | |
| public function DebugConsole() | |
| { | |
| ExternalInterface.call( "eval", "var console = window.console || {log:function(){}};" ); |
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
| function setup() | |
| displayMode(FULLSCREEN) | |
| supportedOrientations(LANDSCAPE_RIGHT) | |
| bigNumbers = {"", "80", "70", "60", "50", "40", "30", "20", "10", "0", | |
| "10", "20", "30", "40", "50", "60", "70", "80", ""} | |
| smallNumbers = {"", "10", "20", "30", "40", "50", "60", "70", "80", "90", | |
| "80", "70", "60", "50", "40", "30", "20", "10", ""} | |
| end |
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
| attribute vec3 aVertexPosition; | |
| attribute vec3 aVertexNormal; | |
| uniform mat4 uMVMatrix; | |
| uniform mat4 uPMatrix; | |
| uniform mat3 uNMatrix; | |
| varying vec3 vNormal; | |
| varying vec3 vEyeVec; |
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
| <!DOCTYPE html> | |
| <html lang="ko"> | |
| <head> | |
| <title>Hello Triangle</title> | |
| <meta name="keywords" content="shallaa, webgl, bsjs"/> | |
| <meta name="description" content="shallaa, webgl, bsjs"/> | |
| <meta charset="utf-8"/> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | |
| <meta name="format-detection" content="telephone=no"/> | |
| <meta name="apple-mobile-web-app-capable" content="yes"/> |
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
| window['requestAnimationFrame'] = (function () { | |
| return window['requestAnimationFrame'] || window['webkitRequestAnimationFrame'] || window['mozRequestAnimationFrame'] || function (callback) { | |
| window.setTimeout(callback, 1000 / 60); | |
| }; | |
| })(); | |
| var SoftEngine; | |
| (function (SoftEngine) { | |
| var Color4 = (function () { | |
| function Color4(initialR, initialG, initialB, initialA) { |
OlderNewer