72 double (*mProjection)[4],
double fFov_rad,
double fAspect,
double zMin,
double zMax);
78 #define LRT_ITER_ALL_LINES_BEGIN \
79 LineartEdge *e, *next_e, **current_list; \
81 for (current_list = &rb->contours; e; e = next_e) { \
84 #define LRT_ITER_ALL_LINES_NEXT \
86 if (current_list == &rb->contours) { \
87 current_list = &rb->crease_lines; \
89 else if (current_list == &rb->crease_lines) { \
90 current_list = &rb->material_lines; \
92 else if (current_list == &rb->material_lines) { \
93 current_list = &rb->edge_marks; \
95 else if (current_list == &rb->edge_marks) { \
96 current_list = &rb->intersection_lines; \
101 next_e = *current_list; \
104 #define LRT_ITER_ALL_LINES_END \
105 LRT_ITER_ALL_LINES_NEXT \
108 #define LRT_BOUND_AREA_CROSSES(b1, b2) \
109 ((b1)[0] < (b2)[1] && (b1)[1] > (b2)[0] && (b1)[3] < (b2)[2] && (b1)[2] > (b2)[3])
113 #define LRT_BA_ROWS 4
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
void lineart_prepend_edge_direct(struct LineartEdge **first, void *node)
void * lineart_list_pop_pointer_no_free(ListBase *h)
void * lineart_list_append_pointer_pool_sized(ListBase *h, struct LineartStaticMemPool *smp, void *data, int size)
struct LineartStaticMemPoolNode * lineart_mem_new_static_pool(struct LineartStaticMemPool *smp, size_t size)
int lineart_count_intersection_segment_count(struct LineartRenderBuffer *rb)
void lineart_prepend_pool(LinkNode **first, struct LineartStaticMemPool *smp, void *link)
void * lineart_mem_aquire(struct LineartStaticMemPool *smp, size_t size)
void lineart_matrix_perspective_44d(double(*mProjection)[4], double fFov_rad, double fAspect, double zMin, double zMax)
void * lineart_mem_aquire_thread(struct LineartStaticMemPool *smp, size_t size)
void lineart_count_and_print_render_buffer_memory(struct LineartRenderBuffer *rb)
void lineart_list_remove_pointer_item_no_free(ListBase *h, LinkData *lip)
void * list_push_pointer_static(ListBase *h, struct LineartStaticMemPool *smp, void *p)
void lineart_mem_destroy(struct LineartStaticMemPool *smp)
void * list_push_pointer_static_sized(ListBase *h, struct LineartStaticMemPool *smp, void *p, int size)
void * lineart_list_append_pointer_pool(ListBase *h, struct LineartStaticMemPool *smp, void *data)
void lineart_matrix_ortho_44d(double(*mProjection)[4], double xMin, double xMax, double yMin, double yMax, double zMin, double zMax)