BRL-CAD
btg.h
Go to the documentation of this file.
1 /* B T G . H
2  * BRL-CAD
3  *
4  * Copyright (c) 2010-2014 United States Government as represented by
5  * the U.S. Army Research Laboratory.
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public License
9  * version 2.1 as published by the Free Software Foundation.
10  *
11  * This library is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this file; see the file named COPYING for more
18  * information.
19  */
20 /** @file btg.h
21  *
22  * the bot/tie glue.
23  *
24  */
25 
26 #ifndef LIBRT_PRIMITIVES_BOT_BTG_H
27 #define LIBRT_PRIMITIVES_BOT_BTG_H
28 
29 void bottie_push_double(void *vtie, TIE_3 **tri, unsigned int ntri, void *usr, unsigned int pstride);
30 int bottie_prep_double(struct soltab *stp, struct rt_bot_internal *bot, struct rt_i *rtip);
31 int bottie_shot_double(struct soltab *stp, register struct xray *rp, struct application *ap, struct seg *seghead);
32 void bottie_free_double(void *vtie);
33 
34 void bottie_push_float(void *vtie, float **tri, unsigned int ntri, void *usr, unsigned int pstride);
35 int bottie_prep_float(struct soltab *stp, struct rt_bot_internal *bot, struct rt_i *rtip);
36 int bottie_shot_float(struct soltab *stp, register struct xray *rp, struct application *ap, struct seg *seghead);
37 void bottie_free_float(void *vtie);
38 
39 #endif /* LIBRT_PRIMITIVES_BOT_BTG_H */
40 
41 /*
42  * Local Variables:
43  * tab-width: 8
44  * mode: C
45  * indent-tabs-mode: t
46  * c-file-style: "stroustrup"
47  * End:
48  * ex: shiftwidth=4 tabstop=8
49  */
void bottie_push_float(void *vtie, float **tri, unsigned int ntri, void *usr, unsigned int pstride)
Definition: btgf.c:48
Definition: raytrace.h:215
Definition: raytrace.h:368
int bottie_shot_float(struct soltab *stp, register struct xray *rp, struct application *ap, struct seg *seghead)
Definition: btgf.c:70
int bottie_shot_double(struct soltab *stp, register struct xray *rp, struct application *ap, struct seg *seghead)
int bottie_prep_double(struct soltab *stp, struct rt_bot_internal *bot, struct rt_i *rtip)
Definition: btg.c:63
int bottie_prep_float(struct soltab *stp, struct rt_bot_internal *bot, struct rt_i *rtip)
Definition: btgf.c:54
void bottie_free_float(void *vtie)
void bottie_push_double(void *vtie, TIE_3 **tri, unsigned int ntri, void *usr, unsigned int pstride)
Definition: btg.c:55
void bottie_free_double(void *vtie)
Definition: btg.c:236