Commit Graph

13 Commits

Author SHA1 Message Date
Latif Khalifa
ae112d56fb Update copyright notices 2014-02-25 15:31:10 +01:00
SignpostMarv
ed995a247b adding unit test for vector casting 2012-09-07 10:54:34 +01:00
Latif Khalifa
1d3ee7537f Reverse order of arguments in quaternion multiplication in order to bring it in line with BulletX physics engine and Unity3D (it's reversed in LSL). Also should fix breakage in code that depends on this ordering like Opensim.
TODO: comprehensive test suite for quaternion math

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3462 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-29 05:11:35 +00:00
John Hurliman
968c6fb1cd * Added unit tests for Vector3.ApproxEquals()
* Fixed a bug in Utils.BytesToInt64() not handling non-zero pos values

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3445 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-01 00:22:06 +00:00
John Hurliman
f8a0cf7283 * Fixed the quaternion unit test that had incorrect results hard-coded. This test started failing after the quaternion multiplication was fixed
* Removing the unneeded and sketchy TickCountResolution test

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3435 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-19 22:41:58 +00:00
John Hurliman
f108207698 * Fixed a bug in BitPack where existing 1 bits were not being overwritten by new 0 bits
* Added BitPack.PackBit()
* Made Binary LLSD deserialization more lenient when parsing the header. Tests pass again

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3364 52acb1d6-8a22-11de-b505-999d5b087335
2010-06-25 01:24:11 +00:00
Jim Radford
b60db797b2 LIBOMV-501 Cleans up all compiler warnings with a few exceptions that need to be addressed individually
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3015 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 06:57:52 +00:00
John Hurliman
f53aee6fa8 Renaming LLSDParser to OSDParser since it will encompass more than just LLSD parsing in the future
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2322 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-30 16:54:17 +00:00
John Hurliman
bad3108ddf * Renamed LLSD to OSD. The LLSD-specific (de)serialization functions have been renamed to specify they use LLSD. Other serialization formats will be added in the future, along with better native support for vectors and unsigned integers
* Added Utils.SHA1()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2321 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-30 01:50:59 +00:00
John Hurliman
4f94adf5ec * IMPORTANT OpenMetaverseTypes CHANGE! Changed string to UUID typecast operator from implicit to explicit. This prevents accidents like "if (myUUID == null)" from compiling
* Added ImageCodec enum

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2209 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-10 18:42:11 +00:00
John Hurliman
e294f47afd * Basic types renaming continued
* Corrected ManagedImage.ExportRaw() function to flip the image (OpenGL has a texture origin in the bottom-left)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2015 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-28 22:23:48 +00:00
John Hurliman
81e6342d36 Removing LL prefix from all basic types
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1998 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-25 05:15:05 +00:00
John Hurliman
533fe6d161 Renaming tests and utilities folders
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1964 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-22 23:31:09 +00:00