Hi,

Sean has left the following comment at Implement a primitive volume function ... for hyperboloids of one sheet (HYP) http://www.google-melange.com/gci/task/view/google/gci2012/8009213:


write your own test


You could write your own test program that links against librt and calls your function.

Alternatively, you'll need to edit some code. If you run 'mged', there is an 'analyze' command that you can run on objects:

mged

...

mged> in myhyp hyp .....

mged> analyze myhyp

Right now, that'll return nothing. But if you edit src/libged/analyze.c and add ID_HYP to the analyze_do() function calling analyze_general() like the others, it'll call your function. You will have also had to add your function to the callback table in src/librt/primitives/table.c first.


Greetings,
The Google Open Source Programs Team


---
You are receiving this message because you are subscribed to Implement a primitive volume function ... for hyperboloids of one sheet (HYP). To stop receiving these messages, go to: http://www.google-melange.com/gci/task/view/google/gci2012/8009213.

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
BRL-CAD Tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker

Reply via email to