coastline 0.0.4
Loading...
Searching...
No Matches
Vp_t Struct Reference

The scale and translation of a viewport, in 10.2 fixed point, each with the depth third. More...

#include <gbi.h>

Public Attributes

s16 vscale [4]
s16 vtrans [4]

Detailed Description

The scale and translation of a viewport, in 10.2 fixed point, each with the depth third.

Member Data Documentation

◆ vscale

s16 Vp_t::vscale[4]

Half the width, height, and depth range, then 0; a negative x mirrors.

◆ vtrans

s16 Vp_t::vtrans[4]

The x and y of the centre and the middle of the depth range, then 0.


The documentation for this struct was generated from the following file: