1excamera(3)                     Allegro manual                     excamera(3)
2
3
4

NAME

6       excamera  - Viewing a 3d world from an arbitrary camera position. Alle‐
7       gro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       Example excamera
14

DESCRIPTION

16       This program demonstrates how to use the  get_camera_matrix()  function
17       to  view  a  3d  world from any position and angle. The example draws a
18       checkered floor through a viewport region on the screen.  You  can  use
19       the  keyboard to move around the camera or modify the size of the view‐
20       port. The keys that can be used with this example are displayed between
21       brackets at the top of the screen.
22
23

SEE ALSO

25       BITMAP(3),  END_OF_MAIN(3), MATRIX_f(3), POLYTYPE_FLAT(3), SCREEN_H(3),
26       SCREEN_W(3), V3D_f(3), allegro_error(3), allegro_init(3),  allegro_mes‐
27       sage(3),  apply_matrix_f(3),  blit(3),  clear_to_color(3), clip3d_f(3),
28       create_bitmap(3),   desktop_palette(3),   destroy_bitmap(3),   font(3),
29       get_camera_matrix_f(3),                get_vector_rotation_matrix_f(3),
30       install_int_ex(3),   install_keyboard(3),   install_timer(3),   key(3),
31       key_shifts(3),  makecol(3), persp_project_f(3), poll_keyboard(3), poly‐
32       gon(3),   polygon3d_f(3),   rect(3),    screen(3),    set_clip_rect(3),
33       set_gfx_mode(3),       set_palette(3),      set_projection_viewport(3),
34       textprintf_ex(3), vsync(3)
35
36
37
38Allegro                          version 4.2.2                     excamera(3)
Impressum