5 Struct N_ISO_CAMERA
gullradriel edited this page 2026-10-09 00:55:18 +02:00

N_ISO_CAMERA

Module: GRAPHICS: isometric engine, maps, tiles, ...

2D isometric camera for viewport management.

#include "n_iso_engine.h"

Public Attributes

Name
float zoom_min
minimum allowed zoom
float zoom_max
maximum allowed zoom
float zoom
zoom factor (1.0 = no zoom)
float y
camera Y offset (world units, pre-zoom)
float x
camera X offset (world units, pre-zoom)

Public Attributes Documentation

variable zoom_min

float zoom_min;

minimum allowed zoom

variable zoom_max

float zoom_max;

maximum allowed zoom

variable zoom

float zoom;

zoom factor (1.0 = no zoom)

variable y

float y;

camera Y offset (world units, pre-zoom)

variable x

float x;

camera X offset (world units, pre-zoom)