void
bn_mat_print(const char *title, const mat_t m)
{
    char obuf[1024];	/* snprintf may be non-PARALLEL */

    bn_mat_print_guts(title, m, obuf, 1024);
    bu_log("%s\n", obuf);
}
Beispiel #2
0
/**
 *			B N _ M A T _ P R I N T
 */
void
bn_tcl_mat_print(Tcl_Interp		*interp,
		 const char		*title,
		 const mat_t		m)
{
    char		obuf[1024];	/* sprintf may be non-PARALLEL */

    bn_mat_print_guts(title, m, obuf, 1024);
    Tcl_AppendResult(interp, obuf, "\n", (char *)NULL);
}
void
bn_mat_print_vls(
    const char *title,
    const mat_t m,
    struct bu_vls *vls)
{
    char obuf[1024];

    bn_mat_print_guts(title, m, obuf, 1024);
    bu_vls_printf(vls, "%s\n", obuf);
}