提交 88f56b3b 编写于 作者: M Mr.doob

Clean up.

上级 e998138a
......@@ -4,7 +4,7 @@
* @author julianwa / https://github.com/julianwa
*/
THREE.Projector = function() {
THREE.Projector = function () {
var _object, _objectCount, _objectPool = [], _objectPoolLength = 0,
_vertex, _vertexCount, _vertexPool = [], _vertexPoolLength = 0,
......
......@@ -8,7 +8,7 @@
THREE.Raycaster = function ( origin, direction, near, far ) {
this.ray = new THREE.Ray( origin, direction );
// normalized ray.direction required for accurate distance calculations
if( this.ray.direction.length() > 0 ) {
......
......@@ -9,7 +9,7 @@
// STEP 3a - Extract points from each shape, turn to vertices
// STEP 3b - Triangulate each shape, add faces.
THREE.Shape = function ( ) {
THREE.Shape = function () {
THREE.Path.apply( this, arguments );
this.holes = [];
......
......@@ -2,7 +2,7 @@
* @author alteredq / http://alteredqualia.com/
*/
THREE.ImmediateRenderObject = function ( ) {
THREE.ImmediateRenderObject = function () {
THREE.Object3D.call( this );
......
......@@ -2,7 +2,7 @@
* @author alteredq / http://alteredqualia.com/
*/
THREE.DepthPassPlugin = function ( ) {
THREE.DepthPassPlugin = function () {
this.enabled = false;
this.renderTarget = null;
......
......@@ -3,7 +3,7 @@
* @author alteredq / http://alteredqualia.com/
*/
THREE.LensFlarePlugin = function ( ) {
THREE.LensFlarePlugin = function () {
var _gl, _renderer, _precision, _lensFlare = {};
......
......@@ -2,7 +2,7 @@
* @author alteredq / http://alteredqualia.com/
*/
THREE.ShadowMapPlugin = function ( ) {
THREE.ShadowMapPlugin = function () {
var _gl,
_renderer,
......
......@@ -3,7 +3,7 @@
* @author alteredq / http://alteredqualia.com/
*/
THREE.SpritePlugin = function ( ) {
THREE.SpritePlugin = function () {
var _gl, _renderer, _precision, _sprite = {};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册