Revision: 56947
          http://sourceforge.net/p/brlcad/code/56947
Author:   iiizzzaaakkk
Date:     2013-08-19 09:43:03 +0000 (Mon, 19 Aug 2013)
Log Message:
-----------
rt_hrt_free() and rt_hrt_params() functions

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/hrt/hrt.c

Modified: brlcad/trunk/src/librt/primitives/hrt/hrt.c
===================================================================
--- brlcad/trunk/src/librt/primitives/hrt/hrt.c 2013-08-19 08:43:54 UTC (rev 
56946)
+++ brlcad/trunk/src/librt/primitives/hrt/hrt.c 2013-08-19 09:43:03 UTC (rev 
56947)
@@ -474,9 +474,12 @@
  * R T _ H R T _ F R E E
  */
 void
-rt_hrt_free()
+rt_hrt_free(struct soltab *stp)
 {
-    bu_log("rt_hrt_free: Not implemented yet!\n");
+    struct hrt_specific *hrt =
+       (struct hrt_specific *)stp->st_specific;
+
+    BU_PUT(hrt, struct hrt_specific);
 }
 
 
@@ -707,10 +710,11 @@
  *
  */
 int
-rt_hrt_params(struct pc_pc_set *UNUSED(ps))
+rt_hrt_params(struct pc_pc_set *UNUSED(ps), const struct rt_db_internal *ip)
 {
-    bu_log("rt_hrt_params: Not implemented yet!\n");
-    return 0;
+    if (ip) RT_CK_DB_INTERNAL(ip);
+
+    return 0;                /* OK */
 }
 
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to