Anthony J. Thibault
818d1f4601
Added six byte quaternion compression routines & tests
2016-05-16 17:48:54 -07:00
Anthony J. Thibault
d9063b199e
GeometryUtils: coneSphereAngle test
2016-04-26 13:31:06 -07:00
Anthony J. Thibault
c671fe7966
Updated AABox tests
2016-03-26 13:36:56 -07:00
Anthony J. Thibault
b4e70d9101
WIP: checkpoint
...
* bug fix in AABox::operator+=
* added AABox::emiggen
* Avatar now has a default bound for it's skinned mesh.
* WIP: AABox tests; NEED MORE
* Model: split collision and model mesh render items.
Because ModelMeshRenderItems need special handling to update bounds for animated joints.
* Model: dynamically update the bound for rigidly bound animated meshes
* Rig: added access to geometryToRigTransform
* RenderableModelEntityItem: try to update bounds for skinned mesh to be the entity dimentions (this doesn't seem to be working)
* Geometry.cpp: removed unused bounds parameter in evalPartBounds
* ModelMeshPartPayload: bounds updating
* non-animated: use existing _localBound
* rigid bound mesh: use _localBound transformed by clusterMatrix joint transform
* fully skinned mesh: use _skinnedMeshBound provided by the application.
2016-03-25 21:29:20 -07:00
Anthony J. Thibault
4a78300607
MyAvatar: Allow user to raise hands directly overhead.
...
Previously we were using a infinitely tall vertical cylinder
to push hand IK targets out of the body, this had the
side-effect of preventing the hands from being raised over
the head. Now, we collide against the same 3d capsule
used by the physics system for avatar collisions.
2016-03-10 10:20:17 -08:00
Andrew Meadows
92581587b1
cleaned up AACubeTests, added AABoxTests
2016-02-25 18:09:35 -08:00
Andrew Meadows
5c11963de2
add unit tests for AACube
2016-02-25 18:09:35 -08:00
Andrew Meadows
dfdf375853
use shapeInFrustum() names again
...
but at the same time make the code more redable
also: add some more efficient shape-touches-view methods
and cleanup some whitespace
2016-02-25 18:09:35 -08:00
Anthony J. Thibault
e4e4cb0110
Bug fix for Transform.postMult() with non-uniform scale.
...
Previously it would not flag the matrix as non-uniform, this would
cause some operations (such as inverse) to be incorrect.
2016-01-11 12:03:44 -08:00
Anthony J. Thibault
5d596bcbc4
Added tests for GLMHelpers::safeEulerAngles.
...
To verify that converting to and from quats and eulers will use the same angle order.
Also I fixed some naming inconsistencies in GeometryUtilTests.
2015-12-29 10:07:38 -08:00
Andrew Meadows
6dfbf7f70a
coalesce scattered dupes of unit-test utilities
2015-08-12 14:13:28 -07:00
Andrew Meadows
f9a4b82edd
add swing-twist decomposition util with unit-tests
2015-08-10 14:47:15 -07:00
Andrew Meadows
661a916ebd
merge rig into cleanup (removal of legacy shapes)
...
Conflicts:
interface/src/avatar/Avatar.h
tests/physics/src/ShapeColliderTests.cpp
tests/physics/src/ShapeColliderTests.h
2015-07-31 13:40:51 -07:00
Andrew Meadows
ef5e7e9ccc
remove PlaneShape dependency from GeometryUtils
...
also add unit tests for indRayRectangleIntersection()
2015-07-28 15:45:48 -07:00
Andrew Meadows
2aa453b610
fix build errors for shared-tests
2015-07-28 12:05:45 -07:00
Anthony J. Thibault
474a643611
Added unit test for shared/transform.
...
The getInverseMat is currently failing, it shows the issue that was affecting the
mirror rendering.
2015-07-09 18:53:12 -07:00
Seiji Emery
1fc1c7c794
PR Fixes
2015-07-02 17:29:08 -07:00
Seiji Emery
28543c0bf2
PR Fixes
2015-07-02 17:27:00 -07:00
Seiji Emery
7ba03418fc
PR Fixes
2015-07-02 17:24:03 -07:00
Seiji Emery
a48adf5ce5
Cleanup + formatting
2015-06-30 14:12:58 -07:00
Seiji Emery
8e324f5de2
Fixes
2015-06-29 11:29:10 -07:00
Seiji Emery
e81b0a3c3a
Fixed tests for ALL_BUILD
...
Fixed physics tests, disabled out-of-date octree tests, and renamed /
added QTestExtensions to the tests folder (IDE view).
ALL_BUILD will now succeed.
2015-06-26 13:31:31 -07:00
Seiji Emery
67093cb9bd
Refactoring
...
Renamed QFUZZY_COMPARE to QCOMPARE_WITH_ABS_ERROR (and the fuzzyCompare function to getErrorDifference)
2015-06-24 16:34:03 -07:00
Seiji Emery
00900d6906
Rewrote MovingPercentileTests
...
(hope someone uses this...)
2015-06-24 14:46:01 -07:00
Seiji Emery
1f0d9a250a
Reverted render-utils and ui tests to be manual tests (not unit tests, and not incorporating QtTest).
2015-06-23 17:13:43 -07:00
Seiji Emery
57b86c0762
Added docs for QTestExtensions.h
2015-06-23 15:27:49 -07:00
Seiji Emery
ede365acc6
Updated AngularConstraintTests
2015-06-23 13:51:26 -07:00
Seiji Emery
d75f3b1398
Fixed test target dependencies (which were not getting added into the *-tests build targets)
2015-06-20 11:49:26 -07:00
Seth Alves
508ae276c6
enable -Wdouble-promotion
2015-06-16 18:23:10 -07:00
Stephen Birarda
14fa89858e
use epsilon constant in MovingMinMaxAvgTests
2015-05-04 10:45:26 -07:00
Stephen Birarda
7ce62f49e2
fix absolute value checks in MovingMinMaxAvgTests.cpp
2015-05-01 16:37:53 -07:00
Stephen Birarda
94739cf8d3
move number constants out of SharedUtil to NumericalConstants
2015-05-01 10:26:53 -07:00
Atlante45
ae3bcc8f06
No more .f
2014-11-19 16:53:39 -08:00
wangyix
357ba92181
working towards more dials for InboundAdioStream
2014-08-07 12:41:09 -07:00
wangyix
81e168f657
added RingBufferHistory template class, used it in SentPacketHistory and MovingMinMaxAvg
2014-07-09 15:38:03 -07:00
wangyix
d03d3ef817
new auidostreamstats displayed in interface, domain page stats updated
2014-07-09 11:59:50 -07:00
wangyix
54e8ed5e11
added MovingMinMaxAvg and unit test; added additional stats to AudioStreamStats struct
2014-07-09 09:41:49 -07:00
Andrew Meadows
356a29c2fb
add AngularConstraint::softClamp() for hands
2014-07-03 08:40:34 -07:00
Andrew Meadows
c3f7d9d155
delete AngularConstraints at end of tests
2014-07-02 11:20:14 -07:00
Andrew Meadows
5934ee5b22
added tests for ConeRollerConstraint
2014-07-01 09:35:47 -07:00
Andrew Meadows
9ca1bfdfe5
add AngularConstraint.* with some unit tests
...
more unit tests to follow
2014-06-30 18:05:22 -07:00
wangyix
124bd88b01
added tests for MovingPercentile
2014-06-04 17:23:44 -07:00