Browse Source

Minor aesthetical tweaks.

Mr.doob 11 years ago
parent
commit
22e89b223c
2 changed files with 12 additions and 16 deletions
  1. 12 15
      examples/webgl_buffergeometry_custom_attributes_particles.html
  2. 0 1
      src/math/Sphere.js

+ 12 - 15
examples/webgl_buffergeometry_custom_attributes_particles.html

@@ -1,38 +1,35 @@
 <!DOCTYPE html>
 <html lang="en">
 	<head>
-		<title>three.js webgl - buffer geometry custom attributes [particles]</title>
+		<title>three.js webgl - buffer geometry custom attributes - particles</title>
 		<meta charset="utf-8">
 		<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
 		<style>
 			body {
 				color: #ffffff;
-				font-family:Monospace;
-				font-size:13px;
-				text-align:center;
-				font-weight: bold;
-
 				background-color: #000000;
 				margin: 0px;
 				overflow: hidden;
 			}
 			#info {
-				color: #fff;
-				background-color: rgba( 0, 0, 0, 0.75 );
-				position: relative;
-				top: 0px; width: 100%;
+				position: absolute;
+				top: 0px;
+				width: 100%;
 				padding: 5px;
-				z-index:100;
-				width:33em;
-				margin:0 auto -2em;
+				font-family: Monospace;
+				font-size: 13px;
+				text-align: center;
+				font-weight: bold;
+			}
+			a {
+				color: #00f;
 			}
-			a { color: #ff0000 }
 		</style>
 	</head>
 
 	<body>
-		<div id="info"><a href="http://threejs.org" target="_blank">three.js</a> - buffergeometry custom attributes example - particles</div>
 		<div id="container"></div>
+		<div id="info"><a href="http://threejs.org" target="_blank">three.js</a> wengl - buffergeometry custom attributes - particles</div>
 
 		<script src="../build/three.min.js"></script>
 		<script src="../src/renderers/WebGLRenderer.js"></script>

+ 0 - 1
src/math/Sphere.js

@@ -22,7 +22,6 @@ THREE.Sphere.prototype = {
 		return this;
 	},
 
-
 	setFromPoints: function () {
 
 		var box = new THREE.Box3();