JWS C Library
C language utility library
Surface_patch_f Struct Reference

A patch of surface on a plane defined by the position and orientation of a Surface_point_f. More...

#include <surface.h>

Collaboration diagram for Surface_patch_f:

Data Fields

Vector_fpts [4]
 Four points composing the parallelogram for the patch.
Vector_fnormal
 Normal vector for the plane the patch lies on.
Vector_fcenter
 Center (or anchor) point for the patch.
float albedo
 Ratio of reflected to incendent light on the patch.

Detailed Description

A patch of surface on a plane defined by the position and orientation of a Surface_point_f.

The patches are parallelograms.

Definition at line 115 of file surface.h.


Field Documentation

Four points composing the parallelogram for the patch.

Definition at line 120 of file surface.h.

Normal vector for the plane the patch lies on.

From the gradient vector of the Surface_point_f.

Definition at line 127 of file surface.h.

Center (or anchor) point for the patch.

From the location of the Surface_point_f.

Definition at line 134 of file surface.h.

Ratio of reflected to incendent light on the patch.

Definition at line 137 of file surface.h.


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