Commit Graph

9886 Commits

Author SHA1 Message Date
Eugene Kozlov
a49dab7456 Add math API functions: vector Lerp, Min, Max, Floor, Round and Ceil. 2016-10-15 16:32:08 +03:00
Eugene Kozlov
0c144b542d Add math API functions: Sqrt, Pow, Mod, Fract, Floor, Round, Ceil and their integer counterparts. 2016-10-15 15:04:27 +03:00
Eugene Kozlov
583c851b03 Add LowerBound and UpperBound functions. 2016-10-15 15:04:26 +03:00
Eugene Kozlov
92b151d4aa Add template FromString. Add begin() and end() for Pair<T, T>. 2016-10-15 15:04:26 +03:00
Eugene Kozlov
49a4c46c97 Add UniquePtr template. Add MakeUnique and MakeShared helpers. 2016-10-15 11:58:35 +03:00
Yao Wei Tjong 姚伟忠
3b81e6f2b7 For CI - move OSX-CI to the last and temporarily comment off some.
This is a temporary measure until Travis has got their act together to fix their OSX VM performance and stability issues.
2016-10-15 11:25:07 +08:00
Yao Wei Tjong 姚伟忠
8d76730f5c Declare the template specialization in the header to keep MSVC happy. 2016-10-14 07:42:42 +08:00
Lasse Öörni
31744b797c Fix potential use of dangling EventReceiverGroup (leading to assert) by making it refcounted and holding onto it until event sending is complete. 2016-10-13 21:40:21 +03:00
urho3d-travis-ci
fdfbb742f5 Travis CI: API documentation update at 2016-10-13 17:25:15 UTC.
[ci package]

Commit: c13084b962

Message: Add Lua binding for Model's SetVertexBuffer() and SetIndexBuffer().
Related to #1638.
2016-10-13 17:25:15 +00:00
Yao Wei Tjong 姚伟忠
c13084b962 Add Lua binding for Model's SetVertexBuffer() and SetIndexBuffer().
Related to #1638.
2016-10-14 00:59:15 +08:00
Lasse Öörni
3143336a76 Rewrite event receiver tracking to allow safe receiver removal during event send, even when same number of receivers is added and removed. Closes #1642. 2016-10-12 01:04:29 +03:00
urho3d-travis-ci
dbb589855e Travis CI: API documentation update at 2016-10-11 19:34:59 UTC.
[ci package]

Commit: 9aca15f4d6

Message: Add contributor credit. Code style edits to ProgressBar. Fix ProgressBar resize. Calculate percent as value / range and convert to integer to prevent showing too many decimals.
2016-10-11 19:34:59 +00:00
Lasse Öörni
9aca15f4d6 Add contributor credit. Code style edits to ProgressBar. Fix ProgressBar resize. Calculate percent as value / range and convert to integer to prevent showing too many decimals. 2016-10-11 22:24:30 +03:00
Lasse Öörni
0e0066ad21 Merge remote-tracking branch 'victorholt/master' 2016-10-11 19:30:55 +03:00
Yao Wei Tjong 姚伟忠
82f7fd56d0 Remove CMake workaround for Bullet library building.
The workaround is not needed anymore as the offending code has been patched.
[ci only: master] [skip appveyor]
2016-10-11 22:33:25 +08:00
Lasse Öörni
00f414416e Explicitly cast infinity to float in btVector3 code to prevent narrowing errors on TDM-GCC. Closes #1637. 2016-10-11 10:16:15 +03:00
Victor Holt
a2261f5a56 Updated the ProgressBar PR to include Lua and AngelScript bindings
Added the ability to show or hide the percent text
2016-10-10 23:38:48 -05:00
urho3d-travis-ci
91b919ea30 Travis CI: API documentation update at 2016-10-10 12:55:05 UTC.
[ci package]

Commit: 20af1aa85f

Message: Demonstrate listing the vertex + index buffers to Model so that it can be saved correctly. Lua bindings not added for now due to problem with serializing a vector of object pointers. Closes #1638.
2016-10-10 12:55:05 +00:00
Lasse Öörni
20af1aa85f Demonstrate listing the vertex + index buffers to Model so that it can be saved correctly. Lua bindings not added for now due to problem with serializing a vector of object pointers. Closes #1638. 2016-10-10 15:44:31 +03:00
Lasse Öörni
a82bf5f6b1 Added contributor. 2016-10-10 10:56:43 +03:00
Lasse Öörni
9065247c45 Merge remote-tracking branch 'victorholt/master' 2016-10-10 10:50:36 +03:00
Victor Holt
b232eb1114 Removed an unnecessary variable. 2016-10-10 01:26:15 -05:00
Victor Holt
c486b1608b Fixed an issue for SQLite queries where String::Trimmed was returning a corrupted version of the query string 2016-10-09 19:36:43 -05:00
urho3d-travis-ci
02066e2ac8 Travis CI: API documentation update at 2016-10-09 03:52:52 UTC.
[ci package]

Commit: 1ef164d741

Message: Minor typo correction on a Lua property name for AnimationControl.
2016-10-09 03:52:52 +00:00
Yao Wei Tjong 姚伟忠
1ef164d741 Minor typo correction on a Lua property name for AnimationControl. 2016-10-09 11:43:36 +08:00
Lasse Öörni
44748322d5 Urho2D sprite related classes 64bit warning fixes. 2016-10-09 03:04:17 +03:00
Lasse Öörni
9a2d373d29 Assert receiver in derived template implementation, not in base class, which allows to set a null pointer instead of one cast from unsigned int. Closes #1634. 2016-10-09 03:03:58 +03:00
urho3d-travis-ci
92afe3521e Travis CI: API documentation update at 2016-10-08 18:11:48 UTC.
[ci package]

Commit: f099b8e0a2

Message: Expose read-only access to AnimationController's internal AnimationControl structures.
2016-10-08 18:11:48 +00:00
Lasse Öörni
f099b8e0a2 Expose read-only access to AnimationController's internal AnimationControl structures. 2016-10-08 21:01:32 +03:00
Lasse Öörni
9de2bdbb44 Merge pull request #1633 from eugeneko/master
Fix error in Skybox.hlsl when instancing is forced on.
2016-10-08 14:21:55 +03:00
Eugene Kozlov
b47a5cbd6d Fix error in Skybox.hlsl when instancing is forced on. 2016-10-08 10:41:28 +03:00
urho3d-travis-ci
763e99367d Travis CI: API documentation update at 2016-10-07 07:57:13 UTC.
[ci package]

Commit: f545877cc8

Message: Merge pull request #1632 from 1vanK/master

Add AnimationController::IsPlaying(layer) method
2016-10-07 07:57:13 +00:00
Lasse Öörni
f545877cc8 Merge pull request #1632 from 1vanK/master
Add AnimationController::IsPlaying(layer) method
2016-10-07 10:47:46 +03:00
urho3d-travis-ci
07f02972ed Travis CI: API documentation update at 2016-10-06 19:42:20 UTC.
[ci package]

Commit: 47e016eca4

Message: Add function to check Rect <-> Rect intersection.
2016-10-06 19:42:20 +00:00
Lasse Öörni
47e016eca4 Add function to check Rect <-> Rect intersection. 2016-10-06 22:21:39 +03:00
Yao Wei Tjong 姚伟忠
62e67fbd02 Ensure the CMAKE_OSX_DEPLOYMENT_TARGET is set to empty for iOS build.
Fix #1628.
2016-10-06 23:22:14 +08:00
Lasse Öörni
08ff3f6629 Clarify comment. Closes #1631. 2016-10-06 14:43:32 +03:00
urho3d-travis-ci
ca263bef55 Travis CI: API documentation update at 2016-10-05 09:00:11 UTC.
[ci package]

Commit: 203cb06048

Message: Merge remote-tracking branch 'eugeneko/master'
2016-10-05 09:00:11 +00:00
Lasse Öörni
203cb06048 Merge remote-tracking branch 'eugeneko/master' 2016-10-05 11:27:41 +03:00
Lasse Öörni
bca26b74eb Fix color wheel being created outside the screen in small resolutions. 2016-10-05 10:57:02 +03:00
urho3d-travis-ci
c3c45a0c1b Travis CI: API documentation update at 2016-10-04 21:28:16 UTC.
[ci package]

Commit: f8ebf2dbc9

Message: Line antialiasing support in Graphics, Material, DebugRenderer classes. Closes #1627.
2016-10-04 21:28:16 +00:00
Lasse Öörni
f8ebf2dbc9 Line antialiasing support in Graphics, Material, DebugRenderer classes. Closes #1627. 2016-10-05 00:17:05 +03:00
Eugene Kozlov
dec0361792 Fix Texture2D::GetImage and TextureCube::GetImage Lua bindings. Simplify some Lua bindings. 2016-10-04 23:12:07 +03:00
Eugene Kozlov
6a469e6af8 Update return value of SharedPtr<T>::Detach. 2016-10-04 22:41:38 +03:00
Eugene Kozlov
b16b7f6f7a Move Texture2D::GetImage and TextureCube::GetImage implementations. 2016-10-04 22:11:31 +03:00
Lasse Öörni
bf4591b158 Define WINVER in SDL_windowsjoystick.c if not defined. Related to #1629. 2016-10-04 16:28:20 +03:00
urho3d-travis-ci
9b78bbacb6 Travis CI: API documentation update at 2016-10-02 10:55:35 UTC.
[ci package]

Commit: 6068963457

Message: Preserve anchored size if setting horiz/vert alignment while anchored.
2016-10-02 10:55:35 +00:00
Lasse Öörni
6068963457 Preserve anchored size if setting horiz/vert alignment while anchored. 2016-10-02 13:43:22 +03:00
Lasse Öörni
ab5cdf9da7 Update documentation on UI element anchoring. 2016-10-02 13:43:21 +03:00
Lasse Öörni
a5d20441dd Adjustments to UI element anchoring to make it more foolproof and intuitive. Anchoring must now be enabled explicitly. 2016-10-02 13:43:20 +03:00