BRL-CAD
db_corrupt.c File Reference
#include "common.h"
#include "vmath.h"
#include "raytrace.h"
#include "db.h"
#include "./librt_private.h"
Include dependency graph for db_corrupt.c:

Go to the source code of this file.

Data Structures

struct  counter
 

Functions

int rt_db_flip_endian (struct db_i *dbip)
 

Detailed Description

Routines to detect whether a geometry database file seems to be corrupt or invalid due to flipped endian encoding.

Definition in file db_corrupt.c.