poly_mirror.c File Reference
#include "common.h"
#include "raytrace.h"
#include "rtgeom.h"
Include dependency graph for poly_mirror.c:

Go to the source code of this file.


int rt_poly_mirror (struct rt_db_internal *ip, register const plane_t plane)

Detailed Description

mirror support

Definition in file poly_mirror.c.

Function Documentation

int rt_poly_mirror ( struct rt_db_internal ip,
register const plane_t  plane 

Given a pointer to an internal GED database object, mirror the object's values about the given transformation matrix.

Definition at line 37 of file poly_mirror.c.

References bn_mat_arb_rot(), bn_mat_mul(), bu_calloc(), bu_free(), rt_db_internal::idb_ptr, RT_CK_DB_INTERNAL, VSET, X, Y, and Z.

Referenced by rt_mirror().

Here is the call graph for this function: