dahlia
f75dccc313
fix Quaternion.GetAxisAngle()
2015-06-10 00:13:22 -07:00
dahlia
ebe3506a12
Fix Quaternion / operator
2015-06-09 20:35:34 -07:00
Latif Khalifa
dbcedbe365
LIBOMV-965: wrong enum text, patch by MadpeterZond
2014-06-29 23:20:42 +02:00
Latif Khalifa
1efb357275
Better hashcodes for Vectors and Vertices
2014-06-27 11:15:54 +02:00
Latif Khalifa
ca96e3a85b
Added matrix decomposition
2014-06-27 08:21:14 +02:00
Latif Khalifa
ae112d56fb
Update copyright notices
2014-02-25 15:31:10 +01:00
Latif Khalifa
1538d3088e
Revert types struct layout changes to see if they're to cause of bulletsim opensim malfunction
2013-11-15 23:24:20 +01:00
Latif Khalifa
7e260ad419
Packing M11 and M12 in the same memory location seems like a really bad idea
2013-11-06 07:51:22 +01:00
Latif Khalifa
73f1e954d8
Merge branch 'master' of https://github.com/aurora-sim/Aurora-LibOMV
2013-11-05 19:55:30 +01:00
Latif Khalifa
a6888ee75c
Moved Parallel and Workload from Types to Core
2013-07-21 09:48:24 +02:00
Latif Khalifa
d47c88c77e
Use SmartThreadPool on Mono only, Windows system thread pool works fine
2013-07-19 10:43:38 +02:00
Latif Khalifa
f1b8fcaf47
Added ability to use SmartThreadPool
2013-07-18 20:00:11 +02:00
Revolution Smythe
a4a6133409
Merge branch 'master' of git://github.com/openmetaversefoundation/libopenmetaverse
2013-03-21 14:23:24 -04:00
Latif Khalifa
bbbbabdcba
LIBOMV-959: Add LightImage ExtraParameter type suppport to primitives
...
Patch by: Frederick Martian
2013-03-08 22:49:11 +01:00
Revolution Smythe
4466e0c9db
Merge branch 'master' of git://github.com/openmetaversefoundation/libopenmetaverse
...
Conflicts:
bin/log4net.dll
2013-03-06 21:05:49 -05:00
SignpostMarv
030284fc07
switching to an implicit cast as Vector3 to Vector3d results in no precision loss
2012-09-07 10:45:04 +01:00
SignpostMarv
112fd49427
since constructors support each other, adding explicit operators for minor reduction in typing required
2012-09-06 12:00:58 +01:00
Revolution Smythe
37597a448e
Merge in the changes from the original Aurora-LibOMV branch (missing a few optimizations that change a lot of base types, not included as I'd rather stick closer to master at this point).
2012-07-27 13:39:21 -04:00
Douglas R. Miles
5db917002b
Allow user code to turn on string interning
2012-06-03 23:10:08 -07:00
Latif Khalifa
51f3b2fbaf
Typofix
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3601 52acb1d6-8a22-11de-b505-999d5b087335
2012-03-18 00:19:48 +00:00
Latif Khalifa
7552306666
Added couple of new system folder types
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3600 52acb1d6-8a22-11de-b505-999d5b087335
2012-03-18 00:12:21 +00:00
Latif Khalifa
5d79f55559
Added Neck and Root attachment points to the enum (RAD-313)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3591 52acb1d6-8a22-11de-b505-999d5b087335
2011-10-28 20:35:52 +00:00
Latif Khalifa
e3f5212f42
Added PrimType.Mesh
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3563 52acb1d6-8a22-11de-b505-999d5b087335
2011-07-27 22:21:47 +00:00
Latif Khalifa
b0ffd2f70a
Mesh data still comes in sculpt format, but different ExtraParamType
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3560 52acb1d6-8a22-11de-b505-999d5b087335
2011-07-21 03:13:01 +00:00
Latif Khalifa
d471ecbbb6
LIBOMV-906: [PATCH] Support for avatar physics
...
Patch by Tim Hart
(Modified slightly not to send physics params if no physical wearable is worn)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3542 52acb1d6-8a22-11de-b505-999d5b087335
2011-05-24 00:58:42 +00:00
Latif Khalifa
0dd3773031
LIBOMV-903: Handle ObjectPhysicsProperties Event Queue Message
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3533 52acb1d6-8a22-11de-b505-999d5b087335
2011-05-20 09:26:13 +00: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
e695ec4018
* Thank you lkalif for a new implementation of Quaternion.GetEulerAngles()
...
* Fixed the broken quaternion multiplication operators
* Added OAR XML prim loading to PrimWorkshop
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3434 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-19 22:26:04 +00:00
John Hurliman
cd2f33e653
* Added Utils.UInt64ToBytesBig()
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3422 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-13 23:51:06 +00:00
John Hurliman
dfd53af1f3
* Fixed the ExpiringCache collection to remove an ambiguity of whether to use local timezone expiration dates or UTC expiration dates. Expiration time is now passed in as the number of seconds relative to the current time
...
* Minor performance improvement in ExpiringCache to avoid instantiating a List<> every time the cache purge timer runs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3421 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-13 23:06:35 +00:00
John Hurliman
dcfb27288a
* Fix packet sending to only send ACKs for incoming packets marked as reliable, not every incoming packet
...
* Fixed a bug in ACK sending that was eating up CPU time
* Put the final UDP packets on the wire synchronously instead of asynchronously. Profiling showed this to be faster than .NET 2.0 style asynchronous sending (although possibly still slower than .NET 3.5 style asynchronous sending)
* Small tweak to LocklessQueue to try and keep LocklessQueue.Count as accurate as possible
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3417 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-12 19:20:37 +00:00
John Hurliman
2ebc810d72
* Finished OAR file loading
...
* Small performance optimization in JsonMapper.cs
* Added message definitions for new capabilities
* Added (currently unused) new enum values
* Updated to a more recent version of log4net.dll
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3397 52acb1d6-8a22-11de-b505-999d5b087335
2010-07-26 18:01:40 +00:00
Latif Khalifa
81d75c6ecd
LIBOMV-830: Adds a try/catch to DoubleDictionary.FindValue() (jurliman)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3330 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-06 23:31:01 +00:00
John Hurliman
94f830b9d9
* Cleaned up the LocklessQueue implementation, removed the unsafe Clear() method, and added documentation
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3296 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-01 01:07:50 +00:00
Latif Khalifa
2259689a1f
* Moved primitive related enums over to types
...
* Added EnumInfoAttribute class to specify extra attributes for enums
* Added EnumInfoAttribute.Text attributes to AttachmentPoint enum
* Added Utils.EnumToText() that will return EnumInfoAttribute.Text for a given enum value
* Added Utils.StringToAttachmentPoint() that converts AttachmentPoint string returned in LLSD to AttachmentPoint enum
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3292 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-31 02:10:59 +00:00
Latif Khalifa
72ae1b72bd
Added new asset types (LIBOMV-793)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3256 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-26 09:33:42 +00:00
Latif Khalifa
99d2241774
Added new wearable types types (LIBOMV-793)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3255 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-26 09:12:09 +00:00
Latif Khalifa
72ee5a9e46
Add new folder types (LIBOMV-793)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3254 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-26 09:03:11 +00:00
John Hurliman
e78f2e8b66
Attempting a fix for the previous commit
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3186 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-29 06:42:40 +00:00
John Hurliman
122c063994
Cache UUID.Zero.ToString() to avoid a common string creation
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3185 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-29 06:28:31 +00:00
John Hurliman
dbd8e0aa8a
* Added Quaternion.ApproxEquals()
...
* Slight speed improvement to all of the ApproxEquals() functions by avoiding Math.Sqrt()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3184 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-28 20:51:48 +00:00
Latif Khalifa
9f18df9d76
LIBOMV-733: Make sure components parts are within 0-1 range
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3183 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-28 10:07:13 +00:00
John Hurliman
e2aa580f7e
Basic sanity checking in UUID.TryParse() to avoid throwing and catching exceptions for most failed parses. Improves the speed of UUID.TryParse() when false is returned
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3179 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-27 18:34:15 +00:00
John Hurliman
8e3d1bb711
* Minor adjustment in CSJ2K to dispose MemoryStreams when it creates them
...
* Replaced all Packet field properties with simple class members. Big internal change but no API difference
* TextureEntry GetBytes() now disposes the MemoryStream it creates
* Added LocklessQueue.Count and LocklessQueue.Clear()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3169 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-24 07:10:47 +00:00
John Hurliman
04f920aea9
* Helpers.GetResourceStream() now uses the executable directory + openmetaverse_data as the path for finding resources instead of current directory + openmetaverse_data
...
* Added add, subtract, multiply operators to Color4
* Switched baking to use Color4 instead of System.Drawing.Color
* Untested implementation of multiply and add color operations in baking
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3077 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-12 06:11:36 +00:00
John Hurliman
41b7ad90c1
Added Color4.Lerp()
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3076 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-12 05:22:47 +00:00
John Hurliman
79684bd8eb
Added an overload to AssetManager.RequestAsset() that takes a transactionID
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3044 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 23:23:14 +00:00
John Hurliman
6bb96a6e28
Improved OpenMetaverse.Parallel by only using a single AutoResetEvent per loop (fewer context switches into kernel space) and allowing exceptions in method bodies to propagate back to the caller
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3043 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 22:39:37 +00:00
John Hurliman
c1bc0b4af6
* Moved OpenMetaverse/Resources to bin/openmetaverse_data until we have a working xbuild and reorganize SVN
...
* Complete rewrite of AppearanceManager. Appearance editing has not been (re)implemented yet, but the normal appearance setting is much more reliable
* Added a setting (defaulted to true) for automatically setting appearance
* Various baking hacks to get slightly less ugly avatars
* Added baked texture uploading through CAPS in AssetManager.RequestUploadBakedTexture(). UDP fallback is not implemented yet
* Added Parallel.Invoke() and overloads for all three methods that take a threadCount
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3038 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 17:43:01 +00:00