BRL-CAD
comb_mirror.c File Reference
#include "common.h"
#include "raytrace.h"
#include "rtgeom.h"
Include dependency graph for comb_mirror.c:

Go to the source code of this file.

Functions

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

Detailed Description

mirror support

Definition in file comb_mirror.c.

Function Documentation

int rt_comb_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 comb_mirror.c.

References bn_mat_arb_rot(), bn_mat_mul(), db_tree_mul_dbleaf(), rt_db_internal::idb_ptr, RT_CK_COMB, RT_CK_DB_INTERNAL, rt_comb_internal::tree, VSET, X, Y, and Z.

Referenced by rt_mirror().

Here is the call graph for this function: