Shubham,
> I would like to know more about the functions that should be included in
> this file.
>
> From where exactly are these routines called from? Is it the rt^3 ?
These functions will be mostly called via the functions table
src/librt/primitives/table.c. You have to add them there.
What do you mean with rt^3? The repository branch? It's for
testing/prototyping only. You should stick to
svn.code.sf.net/p/brlcad/code/brlcad/trunk.
> I was working on the import functions and then I came across the functions
> ntohl(), bu_cv_ntohd() etc. I know these are related to the byte conversion
> (endianess), but I'd like to exactly know about their functioning.
These functions change the byte representation of numbers (~l for long
integers, ~d for doubles) from network format (big endian ieee) to the
machine (processor) specific host format. The network format serves
as a well defined hardware independent binary format for numbers.
Regards,
Daniel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel