diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/test/v4math_tut.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/test/v4math_tut.cpp')
-rw-r--r-- | linden/indra/test/v4math_tut.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/test/v4math_tut.cpp b/linden/indra/test/v4math_tut.cpp index f5a6bcb..07b4797 100644 --- a/linden/indra/test/v4math_tut.cpp +++ b/linden/indra/test/v4math_tut.cpp | |||
@@ -166,6 +166,12 @@ namespace tut | |||
166 | template<> template<> | 166 | template<> template<> |
167 | void v4math_object::test<8>() | 167 | void v4math_object::test<8>() |
168 | { | 168 | { |
169 | #if LL_DEBUG && LL_WINDOWS && _MSC_VER >= 1400 | ||
170 | skip_fail("This fails on VS2005 debug builds!"); | ||
171 | #else | ||
172 | #if LL_WINDOWS && _MSC_VER < 1400 | ||
173 | skip_fail("This fails on VS2003!"); | ||
174 | #else | ||
169 | F32 x = 10.f, y = -2.3f, z = -.023f, w = -2.0f; | 175 | F32 x = 10.f, y = -2.3f, z = -.023f, w = -2.0f; |
170 | const F32 val[10] = {1.f,2.f,3.f,.34f,.1f,-.5f,2.f,1.23f,1.234f,.89f}; | 176 | const F32 val[10] = {1.f,2.f,3.f,.34f,.1f,-.5f,2.f,1.23f,1.234f,.89f}; |
171 | LLMatrix4 mat(val); | 177 | LLMatrix4 mat(val); |
@@ -181,6 +187,8 @@ namespace tut | |||
181 | vec4c.setVec(a, b, c, d); | 187 | vec4c.setVec(a, b, c, d); |
182 | vec4c.rotVec(q); | 188 | vec4c.rotVec(q); |
183 | ensure_equals("2:rotVec: Fail " ,vec4b, vec4c); | 189 | ensure_equals("2:rotVec: Fail " ,vec4b, vec4c); |
190 | #endif | ||
191 | #endif | ||
184 | } | 192 | } |
185 | 193 | ||
186 | template<> template<> | 194 | template<> template<> |