forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFrustum.html
More file actions
95 lines (76 loc) · 1.82 KB
/
Copy pathFrustum.html
File metadata and controls
95 lines (76 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<script src="../../list.js"></script>
<script src="../../page.js"></script>
<link type="text/css" rel="stylesheet" href="../../page.css" />
</head>
<body>
<h1>[name]</h1>
<div class="desc"><a href="http://en.wikipedia.org/wiki/Frustum">Frustums</a> are used to determine what is inside the camera's field of view. They help speed up the rendering process.</div>
<h2>Constructor</h2>
<h3>[name]([page:todo p0], [page:todo p1], [page:todo p2], [page:todo p3], [page:todo p4], [page:todo p5])</h3>
<div>
p0 -- todo <br />
p1 -- todo <br />
p2 -- todo <br />
p3 -- todo <br />
p4 -- todo <br />
p5 -- todo
</div>
<div>
todo
</div>
<h2>Properties</h2>
<h3>.[page:Array planes]</h3>
<div>
Array of 6 [page:Vector4 vectors].
</div>
<h2>Methods</h2>
<h3>.setFromMatrix( [page:Matrix4 matrix] )</h3>
<h3>.intersectsObject( [page:Object3D object] ) [page:Boolean]</h3>
<div>
Checks whether the object is inside the Frustum.
</div>
<h3>.clone() [page:todo]</h3>
<div>
todo
</div>
<h3>.set([page:todo p0], [page:todo p1], [page:todo p2], [page:todo p3], [page:todo p4], [page:todo p5]) [page:todo]</h3>
<div>
p0 -- todo <br />
p1 -- todo <br />
p2 -- todo <br />
p3 -- todo <br />
p4 -- todo <br />
p5 -- todo
</div>
<div>
todo
</div>
<h3>.copy([page:todo frustum]) [page:todo]</h3>
<div>
frustum -- todo
</div>
<div>
todo
</div>
<h3>.containsPoint([page:todo point]) [page:todo]</h3>
<div>
point -- todo
</div>
<div>
todo
</div>
<h3>.intersectsSphere([page:todo sphere]) [page:todo]</h3>
<div>
sphere -- todo
</div>
<div>
todo
</div>
<h2>Source</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</body>
</html>