Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
356 chris 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 27 20:37:06 CET 2013 -->
6
<TITLE>
7
Frustum (libgdx API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2013-01-27">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="Frustum (libgdx API)";
19
    }
20
}
21
</SCRIPT>
22
<NOSCRIPT>
23
</NOSCRIPT>
24
 
25
</HEAD>
26
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
28
<HR>
29
 
30
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
<TR>
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
  <TR ALIGN="center" VALIGN="top">
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Frustum.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
  </TR>
49
</TABLE>
50
</TD>
51
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
 
53
                                libgdx API
54
                                <style>
55
                                body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
56
                                pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
57
                                h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%;  font-weight:bold }
58
                                .TableHeadingColor { background:#EEEEFF; }
59
                                a { text-decoration:none }
60
                                a:hover { text-decoration:underline }
61
                                a:link, a:visited { color:blue }
62
                                table { border:0px }
63
                                .TableRowColor td:first-child { border-left:1px solid black }
64
                                .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
65
                                hr { border:0px; border-bottom:1px solid #333366; }
66
                                </style>
67
                        </EM>
68
</TD>
69
</TR>
70
 
71
<TR>
72
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
73
&nbsp;<A HREF="../../../../com/badlogic/gdx/math/FloatCounter.html" title="class in com.badlogic.gdx.math"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;<A HREF="../../../../com/badlogic/gdx/math/Interpolation.html" title="class in com.badlogic.gdx.math"><B>NEXT CLASS</B></A></FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../../index.html?com/badlogic/gdx/math/Frustum.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="Frustum.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
78
&nbsp;<SCRIPT type="text/javascript">
79
  <!--
80
  if(window==top) {
81
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
82
  }
83
  //-->
84
</SCRIPT>
85
<NOSCRIPT>
86
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
87
</NOSCRIPT>
88
 
89
 
90
</FONT></TD>
91
</TR>
92
<TR>
93
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
94
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
95
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
96
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
97
</TR>
98
</TABLE>
99
<A NAME="skip-navbar_top"></A>
100
<!-- ========= END OF TOP NAVBAR ========= -->
101
 
102
<HR>
103
<!-- ======== START OF CLASS DATA ======== -->
104
<H2>
105
<FONT SIZE="-1">
106
com.badlogic.gdx.math</FONT>
107
<BR>
108
Class Frustum</H2>
109
<PRE>
110
java.lang.Object
111
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.math.Frustum</B>
112
</PRE>
113
<HR>
114
<DL>
115
<DT><PRE>public class <B>Frustum</B><DT>extends java.lang.Object</DL>
116
</PRE>
117
 
118
<P>
119
<HR>
120
 
121
<P>
122
<!-- =========== FIELD SUMMARY =========== -->
123
 
124
<A NAME="field_summary"><!-- --></A>
125
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
126
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
127
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
128
<B>Field Summary</B></FONT></TH>
129
</TR>
130
<TR BGCOLOR="white" CLASS="TableRowColor">
131
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132
<CODE>protected static&nbsp;<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>[]</CODE></FONT></TD>
133
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Frustum.html#clipSpacePlanePoints">clipSpacePlanePoints</A></B></CODE>
134
 
135
<BR>
136
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
137
</TR>
138
<TR BGCOLOR="white" CLASS="TableRowColor">
139
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
140
<CODE>protected static&nbsp;float[]</CODE></FONT></TD>
141
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Frustum.html#clipSpacePlanePointsArray">clipSpacePlanePointsArray</A></B></CODE>
142
 
143
<BR>
144
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
145
</TR>
146
<TR BGCOLOR="white" CLASS="TableRowColor">
147
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>[]</CODE></FONT></TD>
149
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Frustum.html#planePoints">planePoints</A></B></CODE>
150
 
151
<BR>
152
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eight points making up the near and far clipping "rectangles".</TD>
153
</TR>
154
<TR BGCOLOR="white" CLASS="TableRowColor">
155
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156
<CODE>protected &nbsp;float[]</CODE></FONT></TD>
157
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Frustum.html#planePointsArray">planePointsArray</A></B></CODE>
158
 
159
<BR>
160
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
161
</TR>
162
<TR BGCOLOR="white" CLASS="TableRowColor">
163
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/math/Plane.html" title="class in com.badlogic.gdx.math">Plane</A>[]</CODE></FONT></TD>
165
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Frustum.html#planes">planes</A></B></CODE>
166
 
167
<BR>
168
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the six clipping planes, near, far, left, right, top, bottm</TD>
169
</TR>
170
</TABLE>
171
&nbsp;
172
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
173
 
174
<A NAME="constructor_summary"><!-- --></A>
175
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
176
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
177
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
178
<B>Constructor Summary</B></FONT></TH>
179
</TR>
180
<TR BGCOLOR="white" CLASS="TableRowColor">
181
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Frustum.html#Frustum()">Frustum</A></B>()</CODE>
182
 
183
<BR>
184
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
185
</TR>
186
</TABLE>
187
&nbsp;
188
<!-- ========== METHOD SUMMARY =========== -->
189
 
190
<A NAME="method_summary"><!-- --></A>
191
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
192
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
193
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
194
<B>Method Summary</B></FONT></TH>
195
</TR>
196
<TR BGCOLOR="white" CLASS="TableRowColor">
197
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198
<CODE>&nbsp;boolean</CODE></FONT></TD>
199
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Frustum.html#boundsInFrustum(com.badlogic.gdx.math.collision.BoundingBox)">boundsInFrustum</A></B>(<A HREF="../../../../com/badlogic/gdx/math/collision/BoundingBox.html" title="class in com.badlogic.gdx.math.collision">BoundingBox</A>&nbsp;bounds)</CODE>
200
 
201
<BR>
202
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the given <A HREF="../../../../com/badlogic/gdx/math/collision/BoundingBox.html" title="class in com.badlogic.gdx.math.collision"><CODE>BoundingBox</CODE></A> is in the frustum.</TD>
203
</TR>
204
<TR BGCOLOR="white" CLASS="TableRowColor">
205
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
206
<CODE>&nbsp;boolean</CODE></FONT></TD>
207
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Frustum.html#pointInFrustum(com.badlogic.gdx.math.Vector3)">pointInFrustum</A></B>(<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>&nbsp;point)</CODE>
208
 
209
<BR>
210
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the point is in the frustum.</TD>
211
</TR>
212
<TR BGCOLOR="white" CLASS="TableRowColor">
213
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214
<CODE>&nbsp;boolean</CODE></FONT></TD>
215
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Frustum.html#sphereInFrustum(com.badlogic.gdx.math.Vector3, float)">sphereInFrustum</A></B>(<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>&nbsp;center,
216
                float&nbsp;radius)</CODE>
217
 
218
<BR>
219
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the given sphere is in the frustum.</TD>
220
</TR>
221
<TR BGCOLOR="white" CLASS="TableRowColor">
222
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
223
<CODE>&nbsp;boolean</CODE></FONT></TD>
224
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Frustum.html#sphereInFrustumWithoutNearFar(com.badlogic.gdx.math.Vector3, float)">sphereInFrustumWithoutNearFar</A></B>(<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>&nbsp;center,
225
                              float&nbsp;radius)</CODE>
226
 
227
<BR>
228
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the given sphere is in the frustum not checking whether it is behind the near and far clipping plane.</TD>
229
</TR>
230
<TR BGCOLOR="white" CLASS="TableRowColor">
231
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
232
<CODE>&nbsp;void</CODE></FONT></TD>
233
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/Frustum.html#update(com.badlogic.gdx.math.Matrix4)">update</A></B>(<A HREF="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</A>&nbsp;inverseProjectionView)</CODE>
234
 
235
<BR>
236
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Updates the clipping plane's based on the given inverse combined projection and view matrix, e.g.</TD>
237
</TR>
238
</TABLE>
239
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
240
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
241
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
242
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
243
</TR>
244
<TR BGCOLOR="white" CLASS="TableRowColor">
245
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
246
</TR>
247
</TABLE>
248
&nbsp;
249
<P>
250
 
251
<!-- ============ FIELD DETAIL =========== -->
252
 
253
<A NAME="field_detail"><!-- --></A>
254
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
255
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
256
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
257
<B>Field Detail</B></FONT></TH>
258
</TR>
259
</TABLE>
260
 
261
<A NAME="clipSpacePlanePoints"><!-- --></A><H3>
262
clipSpacePlanePoints</H3>
263
<PRE>
264
protected static final <A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>[] <B>clipSpacePlanePoints</B></PRE>
265
<DL>
266
<DL>
267
</DL>
268
</DL>
269
<HR>
270
 
271
<A NAME="clipSpacePlanePointsArray"><!-- --></A><H3>
272
clipSpacePlanePointsArray</H3>
273
<PRE>
274
protected static final float[] <B>clipSpacePlanePointsArray</B></PRE>
275
<DL>
276
<DL>
277
</DL>
278
</DL>
279
<HR>
280
 
281
<A NAME="planes"><!-- --></A><H3>
282
planes</H3>
283
<PRE>
284
public final <A HREF="../../../../com/badlogic/gdx/math/Plane.html" title="class in com.badlogic.gdx.math">Plane</A>[] <B>planes</B></PRE>
285
<DL>
286
<DD>the six clipping planes, near, far, left, right, top, bottm
287
<P>
288
<DL>
289
</DL>
290
</DL>
291
<HR>
292
 
293
<A NAME="planePoints"><!-- --></A><H3>
294
planePoints</H3>
295
<PRE>
296
public final <A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>[] <B>planePoints</B></PRE>
297
<DL>
298
<DD>eight points making up the near and far clipping "rectangles". order is counter clockwise, starting at bottom left
299
<P>
300
<DL>
301
</DL>
302
</DL>
303
<HR>
304
 
305
<A NAME="planePointsArray"><!-- --></A><H3>
306
planePointsArray</H3>
307
<PRE>
308
protected final float[] <B>planePointsArray</B></PRE>
309
<DL>
310
<DL>
311
</DL>
312
</DL>
313
 
314
<!-- ========= CONSTRUCTOR DETAIL ======== -->
315
 
316
<A NAME="constructor_detail"><!-- --></A>
317
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
318
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
319
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
320
<B>Constructor Detail</B></FONT></TH>
321
</TR>
322
</TABLE>
323
 
324
<A NAME="Frustum()"><!-- --></A><H3>
325
Frustum</H3>
326
<PRE>
327
public <B>Frustum</B>()</PRE>
328
<DL>
329
</DL>
330
 
331
<!-- ============ METHOD DETAIL ========== -->
332
 
333
<A NAME="method_detail"><!-- --></A>
334
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
335
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
336
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
337
<B>Method Detail</B></FONT></TH>
338
</TR>
339
</TABLE>
340
 
341
<A NAME="update(com.badlogic.gdx.math.Matrix4)"><!-- --></A><H3>
342
update</H3>
343
<PRE>
344
public void <B>update</B>(<A HREF="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</A>&nbsp;inverseProjectionView)</PRE>
345
<DL>
346
<DD>Updates the clipping plane's based on the given inverse combined projection and view matrix, e.g. from an
347
 <A HREF="../../../../com/badlogic/gdx/graphics/OrthographicCamera.html" title="class in com.badlogic.gdx.graphics"><CODE>OrthographicCamera</CODE></A> or <A HREF="../../../../com/badlogic/gdx/graphics/PerspectiveCamera.html" title="class in com.badlogic.gdx.graphics"><CODE>PerspectiveCamera</CODE></A>.
348
<P>
349
<DD><DL>
350
<DT><B>Parameters:</B><DD><CODE>inverseProjectionView</CODE> - the combined projection and view matrices.</DL>
351
</DD>
352
</DL>
353
<HR>
354
 
355
<A NAME="pointInFrustum(com.badlogic.gdx.math.Vector3)"><!-- --></A><H3>
356
pointInFrustum</H3>
357
<PRE>
358
public boolean <B>pointInFrustum</B>(<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>&nbsp;point)</PRE>
359
<DL>
360
<DD>Returns whether the point is in the frustum.
361
<P>
362
<DD><DL>
363
<DT><B>Parameters:</B><DD><CODE>point</CODE> - The point
364
<DT><B>Returns:</B><DD>Whether the point is in the frustum.</DL>
365
</DD>
366
</DL>
367
<HR>
368
 
369
<A NAME="sphereInFrustum(com.badlogic.gdx.math.Vector3, float)"><!-- --></A><H3>
370
sphereInFrustum</H3>
371
<PRE>
372
public boolean <B>sphereInFrustum</B>(<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>&nbsp;center,
373
                               float&nbsp;radius)</PRE>
374
<DL>
375
<DD>Returns whether the given sphere is in the frustum.
376
<P>
377
<DD><DL>
378
<DT><B>Parameters:</B><DD><CODE>center</CODE> - The center of the sphere<DD><CODE>radius</CODE> - The radius of the sphere
379
<DT><B>Returns:</B><DD>Whether the sphere is in the frustum</DL>
380
</DD>
381
</DL>
382
<HR>
383
 
384
<A NAME="sphereInFrustumWithoutNearFar(com.badlogic.gdx.math.Vector3, float)"><!-- --></A><H3>
385
sphereInFrustumWithoutNearFar</H3>
386
<PRE>
387
public boolean <B>sphereInFrustumWithoutNearFar</B>(<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>&nbsp;center,
388
                                             float&nbsp;radius)</PRE>
389
<DL>
390
<DD>Returns whether the given sphere is in the frustum not checking whether it is behind the near and far clipping plane.
391
<P>
392
<DD><DL>
393
<DT><B>Parameters:</B><DD><CODE>center</CODE> - The center of the sphere<DD><CODE>radius</CODE> - The radius of the sphere
394
<DT><B>Returns:</B><DD>Whether the sphere is in the frustum</DL>
395
</DD>
396
</DL>
397
<HR>
398
 
399
<A NAME="boundsInFrustum(com.badlogic.gdx.math.collision.BoundingBox)"><!-- --></A><H3>
400
boundsInFrustum</H3>
401
<PRE>
402
public boolean <B>boundsInFrustum</B>(<A HREF="../../../../com/badlogic/gdx/math/collision/BoundingBox.html" title="class in com.badlogic.gdx.math.collision">BoundingBox</A>&nbsp;bounds)</PRE>
403
<DL>
404
<DD>Returns whether the given <A HREF="../../../../com/badlogic/gdx/math/collision/BoundingBox.html" title="class in com.badlogic.gdx.math.collision"><CODE>BoundingBox</CODE></A> is in the frustum.
405
<P>
406
<DD><DL>
407
<DT><B>Parameters:</B><DD><CODE>bounds</CODE> - The bounding box
408
<DT><B>Returns:</B><DD>Whether the bounding box is in the frustum</DL>
409
</DD>
410
</DL>
411
<!-- ========= END OF CLASS DATA ========= -->
412
<HR>
413
 
414
 
415
<!-- ======= START OF BOTTOM NAVBAR ====== -->
416
<A NAME="navbar_bottom"><!-- --></A>
417
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
418
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
419
<TR>
420
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
421
<A NAME="navbar_bottom_firstrow"><!-- --></A>
422
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
423
  <TR ALIGN="center" VALIGN="top">
424
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
425
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
426
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
427
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Frustum.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
428
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
429
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
430
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
431
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
432
  </TR>
433
</TABLE>
434
</TD>
435
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
436
libgdx API</EM>
437
</TD>
438
</TR>
439
 
440
<TR>
441
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
442
&nbsp;<A HREF="../../../../com/badlogic/gdx/math/FloatCounter.html" title="class in com.badlogic.gdx.math"><B>PREV CLASS</B></A>&nbsp;
443
&nbsp;<A HREF="../../../../com/badlogic/gdx/math/Interpolation.html" title="class in com.badlogic.gdx.math"><B>NEXT CLASS</B></A></FONT></TD>
444
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
445
  <A HREF="../../../../index.html?com/badlogic/gdx/math/Frustum.html" target="_top"><B>FRAMES</B></A>  &nbsp;
446
&nbsp;<A HREF="Frustum.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
447
&nbsp;<SCRIPT type="text/javascript">
448
  <!--
449
  if(window==top) {
450
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
451
  }
452
  //-->
453
</SCRIPT>
454
<NOSCRIPT>
455
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
456
</NOSCRIPT>
457
 
458
 
459
</FONT></TD>
460
</TR>
461
<TR>
462
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
463
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
464
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
465
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
466
</TR>
467
</TABLE>
468
<A NAME="skip-navbar_bottom"></A>
469
<!-- ======== END OF BOTTOM NAVBAR ======= -->
470
 
471
<HR>
472
 
473
                                <div style="font-size:9pt"><i>
474
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
475
                                </i></div>
476
 
477
</BODY>
478
</HTML>