OpenSNES
Modern Open-Source SNES Development SDK
Loading...
Searching...
No Matches
Dsp1Camera Struct Reference

The camera of the projection: the seven inputs of DSP-1 command $02, "Parameter", under their names in the manual. More...

#include <dsp1.h>

Public Attributes

u16 aas
u16 azs
s16 les
s16 lfe
s16 x
s16 y
s16 z

Detailed Description

The camera of the projection: the seven inputs of DSP-1 command $02, "Parameter", under their names in the manual.

Keep one in RAM and change the fields that move (position, heading), or make it static const for a fixed view.

Member Data Documentation

◆ aas

u16 Dsp1Camera::aas

screen-plane azimuth angle (A) — the heading

◆ azs

u16 Dsp1Camera::azs

screen-plane zenith angle (A) — the tilt

◆ les

s16 Dsp1Camera::les

distance screen plane → ground reference (I)

◆ lfe

s16 Dsp1Camera::lfe

distance eye → screen plane (I) — smaller = wider FOV

◆ x

s16 Dsp1Camera::x

projection-base X (Fx, I)

◆ y

s16 Dsp1Camera::y

projection-base Y (Fy, I)

◆ z

s16 Dsp1Camera::z

projection-base Z (Fz, I) — the camera's height over a ground plane


The documentation for this struct was generated from the following file:
  • /home/runner/work/opensnes/opensnes/lib/include/snes/dsp1.h