#if 0
// ---------------------------- VSVIEWP.H -----------------------
// VSpace 3d library.
// Designed and written by Javier Ar‚valo Baeza.
// Screen viewport handling.

#ifndef _VSVIEWP_H_
#define _VSVIEWP_H_

#include "vsalgeb.h"
#include "vsdepthl.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef dword VSV_TPixel, *VSV_PPixel;

typedef struct {
    sint32       w, h;          // Width and height in pixels.
    VSALG_TCoord rx, ry;        // Aspect ratio of pixels.
    VSV_TPixel  *pix;           // Pixel memory.
    sint32       offs;          // Add this to pix to get to the next line.
    VSDL_PScene  s;             // 3D element list on this viewport.
    VSALG_TCoord radius;        // Angle of view cone.
} VSV_TViewport, *VSV_PViewport;

#define VSV_MakePixel(r,g,b) ((dword)((((byte)(r)) << 22) | (((byte)(g)) << 12) | (((byte)(b)) << 2)))



#ifdef __cplusplus
}
#endif

#endif

// ---------------------------- VSVIEWP.H -----------------------
#endif