1 /**
  2  * @author zz85 / http://www.lab4games.net/zz85/blog
  3  * @author alteredq / http://alteredqualia.com/
  4  *
  5  * For creating 3D text geometry in three.js
  6  *
  7  * Text = 3D Text
  8  *
  9  * parameters = {
 10  *  size: 			<float>, 	// size of the text
 11  *  height: 		<float>, 	// thickness to extrude text
 12  *  curveSegments: 	<int>,		// number of points on the curves
 13  *
 14  *  font: 			<string>,		// font name
 15  *  weight: 		<string>,		// font weight (normal, bold)
 16  *  style: 			<string>,		// font style  (normal, italics)
 17  *
 18  *  bevelEnabled:	<bool>,			// turn on bevel
 19  *  bevelThickness: <float>, 		// how deep into text bevel goes
 20  *  bevelSize:		<float>, 		// how far from text outline is bevel
 21  *  }
 22  *
 23  */
 24 
 25 /*	Usage Examples
 26 
 27 	// TextGeometry wrapper
 28 
 29 	var text3d = new TextGeometry( text, options );
 30 
 31 	// Complete manner
 32 
 33 	var textShapes = THREE.FontUtils.generateShapes( text, options );
 34 	var text3d = new ExtrudeGeometry( textShapes, options );
 35 
 36 */
 37 
 38 
 39 /**@constructor*/
 40 THREE.TextGeometry = function ( text, parameters ) {
 41 
 42 	var textShapes = THREE.FontUtils.generateShapes( text, parameters );
 43 
 44 	// translate parameters to ExtrudeGeometry API
 45 
 46 	parameters.amount = parameters.height !== undefined ? parameters.height : 50;
 47 
 48 	// defaults
 49 
 50 	if ( parameters.bevelThickness === undefined ) parameters.bevelThickness = 10;
 51 	if ( parameters.bevelSize === undefined ) parameters.bevelSize = 8;
 52 	if ( parameters.bevelEnabled === undefined ) parameters.bevelEnabled = false;
 53 
 54 	THREE.ExtrudeGeometry.call( this, textShapes, parameters );
 55 
 56 };
 57 
 58 THREE.TextGeometry.prototype = Object.create( THREE.ExtrudeGeometry.prototype );
 59 

nike free rn new balance hombre baratas cinturones gucci ugg rebajas cinturon gucci ray ban baratas nike cortez peuterey mujer christian louboutin madrid mbt zapatos gafas ray ban baratas mbt ofertas air max blancas mbt barcelona nike air max 90 woolrich barcelona nike mujer botas ugg gafas de sol carrera aratas air max 2016 baratas oakley baratas nike air max 2016

mbt skor nike sverige louboutin skor hollister sverige polo ralph lauren skjorta woolrich jacka dam canada goose jacka woolrich jacka ray ban rea canada goose rea michael kors rea new balance skor ralph lauren skjorta new balance rea uggs sverige lacoste rea christian louboutin skor moncler jacka nike shox barbour jacka uggs rea