Main Page Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members Related Pages
VrmlFrustum.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef VRMLFRUSTUM_H
00022 #define VRMLFRUSTUM_H
00023
00024 #include "common.h"
00025
00026 namespace OpenVRML {
00027
00028 class OPENVRML_SCOPE VrmlFrustum {
00029 public:
00030 float fovy;
00031 float fovx;
00032 double z_near;
00033 double z_far;
00034 float left_plane[4];
00035 float right_plane[4];
00036 float top_plane[4];
00037 float bot_plane[4];
00038
00039 VrmlFrustum();
00040 VrmlFrustum(float afovy, float aaspect, double anear, double afar);
00041
00042 private:
00043 void update();
00044 };
00045 }
00046
00047 #endif // VRMLFRUSTUM_H