curvature Struct Reference

#include <raytrace.h>

Data Fields

vect_t crv_pdir
 Principle direction. More...
fastf_t crv_c1
 curvature in principle dir More...
fastf_t crv_c2
 curvature in other direction More...

Detailed Description

Information about curvature of the surface at a hit point. The principal direction pdir has unit length and principal curvature c1. |c1| <= |c2|, i.e. c1 is the most nearly flat principle curvature. A POSITIVE curvature indicates that the surface bends TOWARD the (outward pointing) normal vector at that point. c1 and c2 are the inverse radii of curvature. The other principle direction is implied: pdir2 = normal x pdir1.

Definition at line 306 of file raytrace.h.

Field Documentation

The documentation for this struct was generated from the following file: