/*
 ******************************************************************************
 *
 *      guLookAtに入れる値を加工する関数のヘッダー
 *      $Id: m_view2.h,v 1.1 2003/06/06 00:15:13 tong Exp $
 ******************************************************************************
 */
#ifndef M_VIEW2_H
#define M_VIEW2_H

#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif

/* guLookAtに入れる値 */
typedef struct {
    xyz_t eye;		/* アイポジション */
    xyz_t center;	/* 注視点 */
    xyz_t up;		/* 上方向ベクトル */
} LOOKAT;

/* guPerspectiveに入れる値 */
typedef struct {
    float fovy;		/* 画角 */
    float aspect;	/* 画面縦横値 */
    float near;		/* 近カリングＺ */
    float far;		/* 遠カリングＺ */
    float scale;	/* 倍率 */
} PERSPECTIVE;

    
#ifdef _LANGUAGE_C_PLUS_PLUS
} /* extern "C" */
#endif

#endif /*** m_view2.h end ***/
