Permalink
Browse files

Delete build files

  • Loading branch information...
stephomi committed Feb 18, 2014
1 parent 285ea2e commit 01283d4f42bda43139574292d3454cd1fef53b26
View
@@ -1,5 +1,5 @@
CACHE MANIFEST
-# 08-01-2013 23:37
+# 18-02-2013 20:00
index.html
@@ -1,36 +0,0 @@
-CACHE MANIFEST
-# 08-01-2013 23:37
-
-index.html
-
-css/style.css
-
-sculptgl.min.js
-lib/jquery-2.0.3.min.js
-lib/dat.gui.min.js
-lib/filesaver.min.js
-lib/gl-matrix-min.js
-lib/jquery.mousewheel.js
-lib/poly2tri.min.js
-
-ressources/bronze.jpg
-ressources/chavant.jpg
-ressources/clay.jpg
-ressources/drink.jpg
-ressources/orange.jpg
-ressources/redvelvet.jpg
-ressources/skin.jpg
-ressources/sphere.obj
-
-shaders/phong.frag
-shaders/phong.vert
-shaders/transparency.vert
-shaders/transparency.frag
-shaders/wireframe.vert
-shaders/wireframe.frag
-shaders/normal.frag
-shaders/normal.vert
-shaders/reflection.frag
-shaders/reflection.vert
-shaders/background.frag
-shaders/background.vert
@@ -1,23 +0,0 @@
-* { margin:0; padding:0; }
-
-html, body{
- height: 100%;
- width: 100%;
- padding: 0;
- margin: 0;
- font-family: Helvetica, Arial, sans-serif;
-}
-
-#canvas {
- position: absolute;
- top: 0;
- bottom: 0;
- height: 100%;
- width: 100%;
- display: block;
-}
-
-#tablet-plugin {
- position: absolute;
- top: -1000px;
-}
View
@@ -1,49 +0,0 @@
-<!doctype html>
-<html manifest='cache.manifest' lang='en'>
-<head>
- <meta charset='utf-8' />
- <meta name='description' content='SculptGL is a small sculpting application powered by JavaScript and webGL.'>
- <meta name='author' content='stéphane GINIER'>
- <title> SculptGL - A WebGL sculpting app </title>
- <link rel='stylesheet' href='css/style.css' type='text/css' />
- <script src='lib/jquery-2.0.3.min.js'></script>
- <script src='lib/jquery.mousewheel.js'></script>
- <script>
- 'use strict';
- $(document).ready(function ()
- {
- var sculptgl = new SculptGL();
- sculptgl.start();
- });
- </script>
-</head>
-<!--
- ____ _ _ ____ _
-/ ___| ___ _ _| |_ __ | |_ / ___| |
-\___ \ / __| | | | | '_ \| __| | _| |
- ___) | (__| |_| | | |_) | |_| |_| | |___
-|____/ \___|\__,_|_| .__/ \__|\____|_____|
- |_|
-A tiny sculpting application. This is basically a port in JavaScript/WebGL
-from a previous C++/OpenGL application that I made.
-
-Stéphane GINIER
--->
-<body oncontextmenu='return false;'>
- <input type='file' id='fileopen' style='display: none'/>
- <input type='file' id='backgroundopen' style='display: none'/>
- <canvas id='canvas'></canvas>
-
- <!-- wacom tablet plugin -->
- <object id="tablet-plugin" type="application/x-wacomtabletplugin"></object>
-
- <!-- 3rd party libraries -->
- <script src='lib/dat.gui.min.js'></script>
- <script src='lib/filesaver.min.js'></script>
- <script src='lib/gl-matrix-min.js'></script>
- <script src='lib/poly2tri.min.js'></script>
-
- <!-- minified sculptgl -->
- <script src='sculptgl.min.js'></script>
-</body>
-</html>

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,117 +0,0 @@
-/*! Copyright (c) 2013 Brandon Aaron (http://brandonaaron.net)
- * Licensed under the MIT License (LICENSE.txt).
- *
- * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
- * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
- * Thanks to: Seamus Leahy for adding deltaX and deltaY
- *
- * Version: 3.1.3
- *
- * Requires: 1.2.2+
- */
-
- (function (factory) {
- if ( typeof define === 'function' && define.amd ) {
- // AMD. Register as an anonymous module.
- define(['jquery'], factory);
- } else if (typeof exports === 'object') {
- // Node/CommonJS style for Browserify
- module.exports = factory;
- } else {
- // Browser globals
- factory(jQuery);
- }
-}(function ($) {
-
- var toFix = ['wheel', 'mousewheel', 'DOMMouseScroll', 'MozMousePixelScroll'];
- var toBind = 'onwheel' in document || document.documentMode >= 9 ? ['wheel'] : ['mousewheel', 'DomMouseScroll', 'MozMousePixelScroll'];
- var lowestDelta, lowestDeltaXY;
-
- if ( $.event.fixHooks ) {
- for ( var i = toFix.length; i; ) {
- $.event.fixHooks[ toFix[--i] ] = $.event.mouseHooks;
- }
- }
-
- $.event.special.mousewheel = {
- setup: function() {
- if ( this.addEventListener ) {
- for ( var i = toBind.length; i; ) {
- this.addEventListener( toBind[--i], handler, false );
- }
- } else {
- this.onmousewheel = handler;
- }
- },
-
- teardown: function() {
- if ( this.removeEventListener ) {
- for ( var i = toBind.length; i; ) {
- this.removeEventListener( toBind[--i], handler, false );
- }
- } else {
- this.onmousewheel = null;
- }
- }
- };
-
- $.fn.extend({
- mousewheel: function(fn) {
- return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel");
- },
-
- unmousewheel: function(fn) {
- return this.unbind("mousewheel", fn);
- }
- });
-
-
- function handler(event) {
- var orgEvent = event || window.event,
- args = [].slice.call(arguments, 1),
- delta = 0,
- deltaX = 0,
- deltaY = 0,
- absDelta = 0,
- absDeltaXY = 0,
- fn;
- event = $.event.fix(orgEvent);
- event.type = "mousewheel";
-
- // Old school scrollwheel delta
- if ( orgEvent.wheelDelta ) { delta = orgEvent.wheelDelta; }
- if ( orgEvent.detail ) { delta = orgEvent.detail * -1; }
-
- // New school wheel delta (wheel event)
- if ( orgEvent.deltaY ) {
- deltaY = orgEvent.deltaY * -1;
- delta = deltaY;
- }
- if ( orgEvent.deltaX ) {
- deltaX = orgEvent.deltaX;
- delta = deltaX * -1;
- }
-
- // Webkit
- if ( orgEvent.wheelDeltaY !== undefined ) { deltaY = orgEvent.wheelDeltaY; }
- if ( orgEvent.wheelDeltaX !== undefined ) { deltaX = orgEvent.wheelDeltaX * -1; }
-
- // Look for lowest delta to normalize the delta values
- absDelta = Math.abs(delta);
- if ( !lowestDelta || absDelta < lowestDelta ) { lowestDelta = absDelta; }
- absDeltaXY = Math.max(Math.abs(deltaY), Math.abs(deltaX));
- if ( !lowestDeltaXY || absDeltaXY < lowestDeltaXY ) { lowestDeltaXY = absDeltaXY; }
-
- // Get a whole value for the deltas
- fn = delta > 0 ? 'floor' : 'ceil';
- delta = Math[fn](delta / lowestDelta);
- deltaX = Math[fn](deltaX / lowestDeltaXY);
- deltaY = Math[fn](deltaY / lowestDeltaXY);
-
- // Add event and delta to the front of the arguments
- args.unshift(event, delta, deltaX, deltaY);
-
- return ($.event.dispatch || $.event.handle).apply(this, args);
- }
-
-}));
Oops, something went wrong.

0 comments on commit 01283d4

Please sign in to comment.