Re: [brlcad-devel] GSoC 2016 - BRL-CAD

2016-06-27 Thread Vasco Alexandre da Silva Costa
On Mon, Jun 27, 2016 at 11:33 AM, Param Hanji wrote: > > Also the GPU side seg_sti doesn't have the same meaning at all. It's a >> unique solid id. In the soltabs list. So '0' would be the first valid solid >> in the soltabs list. So your code should work like this: >> >> unsigned int i=0; >>

Re: [brlcad-devel] GSoC 2016 - BRL-CAD

2016-06-27 Thread Param Hanji
> > Also the GPU side seg_sti doesn't have the same meaning at all. It's a > unique solid id. In the soltabs list. So '0' would be the first valid solid > in the soltabs list. So your code should work like this: > > unsigned int i=0; > RT_VISIT_ALL_SOLTABS_START(stp, a->a_rt_i) { > /* I