Module cone

The module implementing a 3D cone.

Behaviours: object3d.

Description

The module implementing a 3D cone.

A cone is created using the function oject3d:new/1, passing the proper #object3d{} record, whose fields have the following meaning:

Example:

   object3d:new (#object3d { type = cone,
                             name = mycone,
                             base_radius = 0.1,
                             top_radius = 0.05,
                             size = 0.75,
                             position = ?VECTOR (0.0, -0.1, 0.6),
                             axis = ?VECTOR (0.0, 1.0, 1.0),
                             color = ?RGB(1.0, 1.0, 0.0)}).
  

Generated by EDoc, Nov 21 2007, 10:13:23.