Revision: 54069
http://brlcad.svn.sourceforge.net/brlcad/?rev=54069&view=rev
Author: caen23
Date: 2012-12-16 21:01:36 +0000 (Sun, 16 Dec 2012)
Log Message:
-----------
Remove buggy cast from float* to double*
Modified Paths:
--------------
brlcad/trunk/include/dvec.h
Modified: brlcad/trunk/include/dvec.h
===================================================================
--- brlcad/trunk/include/dvec.h 2012-12-16 15:58:20 UTC (rev 54068)
+++ brlcad/trunk/include/dvec.h 2012-12-16 21:01:36 UTC (rev 54069)
@@ -158,7 +158,7 @@
dvec<4> iv(tmp);
dvec<4> sv(scale);
dvec<4> r = iv * sv;
- r.a_store((double *) inv);
+ r.a_store(inv);
return true;
}
inline
@@ -170,14 +170,14 @@
dvec<2> a(_a);
dvec<2> b(_b);
dvec<2> c = a*x + b*y;
- c.a_store((double *) r);
+ c.a_store(r);
}
inline
void pt2dsub(pt2d_t r, pt2d_t a, pt2d_t b) {
dvec<2> va(a);
dvec<2> vb(b);
dvec<2> vr = va - vb;
- vr.a_store((double *) r);
+ vr.a_store(r);
}
inline
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits