2
0
Эх сурвалжийг харах

Page structure almost done.

Mr.doob 13 жил өмнө
parent
commit
0c6bcd0ced

+ 16 - 6
docs/api/cameras/Camera.html

@@ -1,18 +1,24 @@
-<html>
+<!doctype html>
+<html lang="en">
 	<head>
+		<meta charset="utf-8">
+		<title>Camera</title>
 		<link rel="stylesheet" type="text/css" href="../../styles.css" />
 	</head>
 	<body>
-		<h1>Camera</h1>
 
-		 Abstract base class for cameras.
+		<h1>Camera &larr; <a href="../core/Object3D.js">Object3D</a></h1>
+
+		<div>Abstract base class for cameras.</div>
+
 
 		<h2>Constructor</h2>
 
 		<code>
-		Camera()
+			Camera()
 		</code>
 
+
 		<h2>Properties</h2>
 
 		<h3>matrixWorldInverse <a href="../core/Matrix4.js">Matrix4</a></h3>
@@ -22,10 +28,14 @@
 
 		<h2>Methods</h2>
 
-		<h3>lookAt( vector <a href="../core/Vector3.js">Matrix4</a> )</h3>
+		<h3>lookAt( vector <a href="../core/Vector3.js">Vector3</a> )</h3>
+
+		<div>Orient camera to look at Vector3()</div>
+
 
-		Orient camera to look at Vector3()
+		<h2>Source</h2>
 
+		<div><a href="https://github.com/mrdoob/three.js/blob/master/src/cameras/Camera.js">src/cameras/Camera.js</a></div>
 
 	</body>
 </html>

+ 3 - 1
docs/index.html

@@ -1,5 +1,7 @@
-<html>
+<!doctype html>
+<html lang="en">
 	<head>
+		<meta charset="utf-8">
 		<title>three.js - documentation</title>
 		<style>
 			body {

+ 1 - 1
docs/styles.css

@@ -7,7 +7,7 @@ body {
 }
 
 h1 {
-	color: #ff0000;
+	color: #444;
 	font-size: 25px;
 }