[ Maverik Level 1 typedefs ]


MAV_viewParams

Summary

View parameters.


Syntax

typedef struct {
  MAV_vector eye;
  MAV_vector view;
  MAV_vector up;
  MAV_vector fixed_up;
  MAV_viewModifierFn mod;
  MAV_vector right;
  MAV_vector trans_eye;
  MAV_vector trans_view;
  MAV_vector trans_up;
  MAV_vector trans_right;
  void *userdef;
} MAV_viewParams;


Description

The MAV_viewParams data structure defines the user's view, as follows:

The viewing frustum is only fully defined once the MAV_viewParams are associated with a window, using the mav_windowViewParamsSet function, thus defining the field of view, aspect ratio and near/far clip planes.


Back to the index page.