1 /*!
  2 *
  3 *        Raphaël3d : Raphaël extension for basic 3d graphics
  4 *                    version 0.7.dev (2012-12-29)
  5 *
  6 *                 Copyright (C)  2012  Jan Stransky
  7 *
  8 *      Czech Technical University, Faculty of Civil Engineering,
  9 *  Department of Structural Mechanics, 166 29 Prague, Czech Republic
 10 *
 11 *
 12 *  Raphaël3d is free software: you can redistribute it and/or modify
 13 *  it under the terms of the GNU General Public License as published by
 14 *  the Free Software Foundation, either version 3 of the License, or
 15 *  (at your option) any later version.
 16 *
 17 *  Raphaël3d is distributed in the hope that it will be useful,
 18 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 19 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 20 *  GNU General Public License for more details.
 21 *
 22 *  You should have received a copy of the GNU General Public License
 23 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 24 */
 25 
 26 /**
 27 * @fileOverview <a href="http://raphaeljs.com/">Raphaël</a> (svg javascript library) extension for basic 3d graphics. Requires <a href="http://raphaeljs.com/">raphael.js</a> loaded before loading this file. For more information see <a href="http://mech.fsv.cvut.cz/~stransky/software/raphaeltools/">project homepage</a>.
 28 <br /><br/>Raphaël3d is a free software distributed under <a href='http://www.gnu.org/licenses/gpl.html'>GNU GPL license</a>.
 29 * @author <a href="http://mech.fsv.cvut.cz/~stransky/">Jan Stránský</a>
 30 * @version Version 0.7.dev (2012-12-29)
 31 */
 32 
 33 
 34 
 35 /** Raphael object loaded from <a href="http://raphaeljs.com">raphael.js file</a>
 36 * @class
 37 */
 38 var Raphael = Raphael;
 39 
 40 /** Raphael.el attribute of {@link Raphael}
 41 */
 42 Raphael.el = Raphael.el;
 43 
 44 /** Raphael.fn attribute of {@link Raphael}
 45 */
 46 Raphael.fn = Raphael.fn;
 47 
 48 
 49 
 50 
 51 
 52 var global = this;
 53 var Raphael3d = global.Raphael3d;
 54 
 55 (function(global,undefined) {
 56 
 57 	/** Global namespace object
 58 	* @namespace
 59 	*/
 60 	Raphael3d = {};
 61 
 62 	/**
 63 	* @class represents 4x4 transformation matrix
 64 	* @property {float} m00 matrix element on position (0,0) (numbering from 0)
 65 	* @property {float} m01 matrix element on position (0,1) (numbering from 0)
 66 	* @property {float} m02 matrix element on position (0,2) (numbering from 0)
 67 	* @property {float} m03 matrix element on position (0,3) (numbering from 0)
 68 	* @property {float} m10 matrix element on position (1,0) (numbering from 0)
 69 	* @property {float} m11 matrix element on position (1,1) (numbering from 0)
 70 	* @property {float} m12 matrix element on position (1,2) (numbering from 0)
 71 	* @property {float} m13 matrix element on position (1,3) (numbering from 0)
 72 	* @property {float} m20 matrix element on position (2,0) (numbering from 0)
 73 	* @property {float} m21 matrix element on position (2,1) (numbering from 0)
 74 	* @property {float} m22 matrix element on position (2,2) (numbering from 0)
 75 	* @property {float} m23 matrix element on position (2,3) (numbering from 0)
 76 	* @property {float} m30 matrix element on position (3,0) (numbering from 0)
 77 	* @property {float} m31 matrix element on position (3,1) (numbering from 0)
 78 	* @property {float} m32 matrix element on position (3,2) (numbering from 0)
 79 	* @property {float} m33 matrix element on position (3,3) (numbering from 0)
 80 	*/
 81 	Raphael3d.Matrix4x4 = function() {
 82 		this.m00 = 1.; this.m01 = 0.; this.m02 = 0.; this.m03 = 0.;
 83 		this.m10 = 1.; this.m11 = 0.; this.m12 = 0.; this.m13 = 0.;
 84 		this.m20 = 1.; this.m21 = 0.; this.m22 = 0.; this.m23 = 0.;
 85 		this.m30 = 1.; this.m31 = 0.; this.m32 = 0.; this.m33 = 0.;
 86 	}
 87 
 88 })(this)
 89