librtl

rtl_world::viewinfo Struct Reference

Public Members


Detailed Description

Used for interface for shooting individual rays. The fields are the necessary precomputed values required to shoot a ray.


Member Data Documentation

jInt rtl_world::viewinfo::dx

width of the viewplane.

jInt rtl_world::viewinfo::dy

height of the viewplane.

jFlt rtl_world::viewinfo::ar

Aspect ratio of the viewplane.

jFlt rtl_world::viewinfo::sh

screen height in world space coordinates.

jFlt rtl_world::viewinfo::sw

screen width in world space coordinates.

jFlt rtl_world::viewinfo::pw

pixel width in world space coordinates.

jFlt rtl_world::viewinfo::ph

pixel height in world space coordinates.

jFlt rtl_world::viewinfo::ox

World space x-coordinate of the origin of the viewplane.

jFlt rtl_world::viewinfo::oy

World space y-coordinate of the origin of the viewplane.


The documentation for this struct was generated from the following file:
JSP / librtl v0.2 mtigges@cpsc.ucalgary.ca