Index

Package: Frustums

Description

package GL.Frustums is
----------------------------------------------------------------------- GL.Frustum Copyright (c) Gautier de Montmollin/Rod Kay 2001 .. 2007 CH - 8810 Horgen SWITZERLAND Permission granted to: 1/ use this library, without any warranty, for any purpose; 2/ modify this library's sources (specification, body of this package and of child packages on which it depends) in any way, with an appropriate commenting of changes; 3/ copy and distribute this library's sources without restriction, provided this copyright note remains attached and unmodified. -----------------------------------------------------------------------

Types

plane_Id

type plane_Id is (Left, Right, High, Low, Near, Far);

References:

gl-frustums.ads:21:9 (declaration)
gl-frustums.ads:23:31 (reference)

plane_Array

type plane_Array is array (plane_Id) of GL.Geometry.Plane;

References:

gl-frustums.ads:23:9 (declaration)
gl-frustums.adb:3:46 (reference)
gl-frustums.adb:13:35 (reference)
gl-frustums.adb:15:21 (reference)
gl-frustums.ads:25:46 (reference)
gl-frustums.ads:27:35 (reference)
globe_3d.ads:189:45 (reference)

Subprograms & Entries

Normalise

procedure Normalise 
(the_Planes: in out plane_Array);

Called by:

Current_Planes defined at gl-frustums.ads:27:13

Current_Planes

function Current_Planes return plane_Array;
returns the frustum planes calculated from the current GL projection and modelview matrices.