diff options
author | adam <adam@pkgsrc.org> | 2010-12-14 09:52:51 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2010-12-14 09:52:51 +0000 |
commit | 87f2a50c0b4b6e280b9b712ff480d08c677c5552 (patch) | |
tree | f9e51283ace5908a807d1ea60adf0796d15f4fd9 /graphics/ilmbase/patches | |
parent | 66bdcc44f9b1df49dc7052c60a082f63d60f6368 (diff) | |
download | pkgsrc-87f2a50c0b4b6e280b9b712ff480d08c677c5552.tar.gz |
Changes 1.0.2:
* Added explicit copy constructors to Imath::Matrix33<T> and
ImathMatrix44<T> to make conversions between float and double
matrices more convenient.
* Added slerpShortestArc() and euclideanInnerProduct() functions
to Imath::Quat<T>.
* Added 4D vector class template Imath::Vec4<T>.
* Copy constructors and assignment operators for Matrix33<T>
and Matrix44<T> are up to 25% faster. Added matrix constructors
that do not initialize the matrix (this is faster in cases where
the initial value of the matrix is immediately overwritten anyway).
* Rewrote function closestPointOnBox(point,box). Shortened
the code, improved numerical accuracy, fixed a bug where
closestPointOnBox(box.center(),box) would return the center
of the +Z side of the box, even if the +/-X or +/-Y sides
were closer.
* Rewrote function findEntryAndExitPoints() in ImathBoxAlgo.h.
Results are now consistent with those from intersect(), also
in ImathBoxAlgo.h.
* Made Vec2<T>::length() and Vec3<T>::length() more accurate for
vectors whose length is less than sqrt(limits<T>::smallest());
* Made Quat<T>::angle() more accurate for small angles.
Diffstat (limited to 'graphics/ilmbase/patches')
-rw-r--r-- | graphics/ilmbase/patches/patch-ab | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/graphics/ilmbase/patches/patch-ab b/graphics/ilmbase/patches/patch-ab new file mode 100644 index 00000000000..b7957e738fc --- /dev/null +++ b/graphics/ilmbase/patches/patch-ab @@ -0,0 +1,28 @@ +$NetBSD: patch-ab,v 1.1 2010/12/14 09:52:51 adam Exp $ + +--- configure.orig 2010-12-14 09:46:18.000000000 +0000 ++++ configure +@@ -20385,23 +20385,7 @@ else + fi; + + if test "${osx_arch}" != default ; then +- osx_arch_flags="-arch ${osx_arch// / -arch }" + CXXFLAGS="$CXXFLAGS $osx_arch_flags" +- +- if test "$enable_dependency_tracking" != no ; then +- osx_arch_array=( ${osx_arch} ) +- if test ${#osx_arch_array[@]} -gt 1 ; then +- { { echo "$as_me:$LINENO: error: building multiple OS X architectures requires --disable-dependency-tracking. +-Please re-run configure with these options: +- --enable-osx-arch=\"${osx_arch}\" --disable-dependency-tracking +- " >&5 +-echo "$as_me: error: building multiple OS X architectures requires --disable-dependency-tracking. +-Please re-run configure with these options: +- --enable-osx-arch=\"${osx_arch}\" --disable-dependency-tracking +- " >&2;} +- { (exit 1); exit 1; }; } +- fi +- fi + fi + + # Check whether --enable-osx-sdk or --disable-osx-sdk was given. |