Commit History

Autor SHA1 Mensaxe Data
  hdunderscore 9fabafec87 Clean up + included a by-pass in UI.cpp to allow for drag move and drag end to occur when Input::IsMouseGrabbed() is true (allowing existing events to continue, preventing new events from triggering). %!s(int64=11) %!d(string=hai) anos
  Lasse Öörni ec7c262be6 Expose Matrix4 * Matrix3x4 to scripting. Move the multiply as a Matrix4 member function so that it can be properly exposed to lua. %!s(int64=11) %!d(string=hai) anos
  aster2013 49d9856dd5 Add transform functions for Urho2D. %!s(int64=11) %!d(string=hai) anos
  Lasse Öörni 56e0aad21d Minor rendering code cleanup. Added Plane::Project(). %!s(int64=11) %!d(string=hai) anos
  Yao Wei Tjong 姚伟忠 41df6dc2e0 Expose Color constants in AngelScript. Use them in sample app. %!s(int64=11) %!d(string=hai) anos
  Lasse Öörni cf4c43d344 Added Serializer / Deserializer functions for reading & writing matrices. Added bool success parameter to Quaternion::FromLookRotation() and Node::LookAt(), as it can potentially give a NaN result (in which case the original rotation is kept). Optimized reading of math objects in Deserializer to avoid default construction. %!s(int64=11) %!d(string=hai) anos
  Lasse Öörni f7b99ecdee Added Matrix types to Variant. Added ToString() to Matrix types. Added Matrix getters/setters to XMLElement. Added ToMatrix string conversion functions. Added possibility to assign shader parameters from Matrix variants. Fixed missing setting of Color variant shader parameter on Direct3D9. %!s(int64=11) %!d(string=hai) anos
  Lasse Öörni 0a1d2ea259 Default-construct math objects to zero or identity to unify C++ / AngelScript / Lua behavior. Closes #279. %!s(int64=11) %!d(string=hai) anos
  Lasse Öörni 094006ef91 Added brightness attribute to Light. Added separate equality test with and without epsilon to Color, similar to Vector2/3/4. %!s(int64=11) %!d(string=hai) anos
  Lasse Öörni 4080f024c5 Exposed IsPowerOfTwo(), NextPowerOfTwo() and SDBMHash() to script. %!s(int64=11) %!d(string=hai) anos
  Lasse Öörni 02e543ba5c Support for per-pixel negative lights. Added BLEND_SUBTRACT & BLEND_SUBTRACTALPHA blend modes. Light code cleanup. %!s(int64=11) %!d(string=hai) anos
  Lasse Öörni 2529f4c51a Added IsNaN() to Vector2, Vector3, Vector4, Quaternion. Safeguard against Node::LookAt() misbehaving if target is very close. Closes #231. %!s(int64=11) %!d(string=hai) anos
  Lasse Öörni c1205473d4 Tabs to spaces + other code formatting. %!s(int64=12) %!d(string=hai) anos
  mightyCelu 03888602bf Added scriptbindings for normal distribution generator and included the generator in the mathdefs %!s(int64=12) %!d(string=hai) anos
  Lasse Öörni 6d5ddc23e0 Bump the copyright for 2014. %!s(int64=12) %!d(string=hai) anos
  Lasse Öörni 39e13d49c8 Renamed the plane intercept parameter to "d" and reversed its sign so that it fits the conventional plane formula ax + by + cz + d = 0. %!s(int64=12) %!d(string=hai) anos
  Nick Royer 9985f0a122 Added a convenience function to find the angle between two vectors. %!s(int64=12) %!d(string=hai) anos
  Lasse Öörni eb4e99457c Code cleanup. Removed Camera functions to return forward, right, up vectors as they are now also in Node. Added Lua property accessors for Node up/right vectors. Exposed SmoothStep() to script. Modified Node::LookAt() to use the new Quaternion function. Updated credits. %!s(int64=12) %!d(string=hai) anos
  Nick Royer 432b9d3645 Added scripting APIs for the previous convenience functions %!s(int64=12) %!d(string=hai) anos
  Lasse Öörni cadb503976 Added transform by matrix functions to Plane. Added camera clipping plane support. Added basic reflective+refractive water shader + material. %!s(int64=12) %!d(string=hai) anos
  Lasse Öörni 6d38f23467 Added conversion of Plane to Vector4. %!s(int64=12) %!d(string=hai) anos
  Lasse Öörni 3343e52986 Added IsInside() to Rect & IntRect. Closes #128. %!s(int64=12) %!d(string=hai) anos
  Lasse Öörni a7d8f0fd18 Added reflection related functions to Plane. Fixed rendering a SkyBox from multiple views during the same frame. Better error message in ShaderCompiler if input file can not be opened. %!s(int64=12) %!d(string=hai) anos
  primitivewaste 7d641ca3fc Add a grid to the editor. Add default zone and grid editor preferences. Make editor settings and preferences dialogs resizable and scrollable. Fix Pow() script registration. %!s(int64=12) %!d(string=hai) anos
  Lasse Öörni a022430876 Added Random() & RandomInt() script functions with min & max range parameters. Similar to the RandomInt(range) overload, in RandomInt(min, max) the max value is exclusive. Note that the corresponding C++ functions are simply called Random for both int and float versions. Closes #48. %!s(int64=12) %!d(string=hai) anos
  Lasse Öörni f02650d10e Add int versions of Max, Min & Clamp to the AngelScript API. %!s(int64=12) %!d(string=hai) anos
  Lasse Öörni 372fbed88d Normalize resource names in SanitateResourceName() if they also contain a registered resource dir name, ie. Data/Scripts/NinjaSnowWar.as becomes Scripts/NinjaSnowWar.as. This fixes script file possibly getting loaded twice. %!s(int64=12) %!d(string=hai) anos
  Lasse Öörni caf0994b8f Optimize vector/quaternion Normalize() to a no-op if already at unit length. Changed return value to void. %!s(int64=12) %!d(string=hai) anos
  Lasse Öörni e6d0b4d3f3 Normalize ray direction in constructor. %!s(int64=12) %!d(string=hai) anos
  Lasse Öörni 26a9bc763e Added Temporary flag to Serializable, which means it will not be saved if enabled. Currently the sub-nodes created by Terrain are marked temporary. %!s(int64=12) %!d(string=hai) anos