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

Some documentation styling.

Still not done.
上级 c5251fac
......@@ -5,7 +5,27 @@
<body>
<h1>Camera</h1>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ullamcorper, nibh vel semper bibendum, lacus ante sodales nibh, vel pharetra orci orci ut eros. Donec vehicula, nibh eget auctor aliquet, nulla tellus consequat ipsum, id blandit nisl lectus nec justo. Nunc tincidunt pretium vulputate. Suspendisse sollicitudin dui id turpis egestas non gravida arcu suscipit. Vestibulum mi quam, laoreet quis venenatis a, pharetra id nulla. Vestibulum sit amet orci purus. In blandit sapien lacus. Phasellus cursus consequat lectus, nec ultrices lorem molestie a. Ut in feugiat lectus. Phasellus auctor ultrices metus, accumsan convallis tellus pulvinar sed. Sed fringilla urna et urna auctor sit amet rutrum est tempor.
Abstract base class for cameras.
<h2>Constructor</h2>
<code>
Camera()
</code>
<h2>Properties</h2>
<h3>matrixWorldInverse <a href="../core/Matrix4.js">Matrix4</a></h3>
<h3>projectionMatrix <a href="../core/Matrix4.js">Matrix4</a></h3>
<h3>projectionMatrixInverse <a href="../core/Matrix4.js">Matrix4</a></h3>
<h2>Methods</h2>
<h3>lookAt( vector <a href="../core/Vector3.js">Matrix4</a> )</h3>
Orient camera to look at Vector3()
</body>
</html>
......@@ -4,6 +4,9 @@
<style>
body {
margin: 0;
padding: 0;
color: #555;
font-family: Arial, sans-serif;
}
#panel {
......@@ -18,7 +21,7 @@
padding: 20px 0px 0px 20px;
font-size: 18px;
font-size: 15px;
}
......@@ -32,13 +35,26 @@
<body>
<div id="panel">
Core
<ul>
<li><a href="api/cameras/Camera.html" target="page">Camera</a></li>
<li><a href="api/cameras/PerspectiveCamera.html" target="page">PerspectiveCamera</a></li>
<li><a href="api/cameras/OrtographicCamera.html" target="page">OrtographicCamera</a></li>
</ul>
Cameras
<ul>
<li><a href="api/cameras/Camera.html">Camera</a></li>
<li><a href="api/cameras/PerspectiveCamera.html">PerspectiveCamera</a></li>
<li><a href="api/cameras/OrtographicCamera.html">OrtographicCamera</a></li>
<li><a href="api/cameras/Camera.html" target="page">Camera</a></li>
<li><a href="api/cameras/PerspectiveCamera.html" target="page">PerspectiveCamera</a></li>
<li><a href="api/cameras/OrtographicCamera.html" target="page">OrtographicCamera</a></li>
</ul>
Lights
<ul>
<li><a href="api/cameras/Camera.html" target="page">Camera</a></li>
<li><a href="api/cameras/PerspectiveCamera.html" target="page">PerspectiveCamera</a></li>
<li><a href="api/cameras/OrtographicCamera.html" target="page">OrtographicCamera</a></li>
</ul>
</div>
<iframe id="page" src="api/cameras/Camera.html"></iframe>
......
body {
margin: 0;
padding: 0;
color: #555;
font-family: Arial, sans-serif;
font-size: 15px;
}
h1 {
color: #ff0000;
font-size: 25px;
margin-top: 20px;
}
h2 {
color: #999;
font-size: 18px;
margin-top: 40px;
}
h3 {
font-size: 15px;
margin-top: 30px;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册