rtl_world::viewinfo Struct Reference
Public Members
- jInt dx
- width of the viewplane.
- jInt dy
- height of the viewplane.
- jFlt ar
- Aspect ratio of the viewplane.
- jFlt sh
- screen height in world space coordinates.
- jFlt sw
- screen width in world space coordinates.
- jFlt pw
- pixel width in world space coordinates.
- jFlt ph
- pixel height in world space coordinates.
- jFlt ox
- World space x-coordinate of the origin of the viewplane.
- jFlt oy
- World space y-coordinate of the origin of the viewplane.
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
jInt rtl_world::viewinfo::dy
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