提交历史

作者 SHA1 备注 提交日期
  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. 11 年之前
  aster2013 49d9856dd5 Add transform functions for Urho2D. 11 年之前
  Lasse Öörni 56e0aad21d Minor rendering code cleanup. Added Plane::Project(). 11 年之前
  Yao Wei Tjong 姚伟忠 41df6dc2e0 Expose Color constants in AngelScript. Use them in sample app. 11 年之前
  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. 11 年之前
  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. 11 年之前
  Lasse Öörni 0a1d2ea259 Default-construct math objects to zero or identity to unify C++ / AngelScript / Lua behavior. Closes #279. 11 年之前
  Lasse Öörni 094006ef91 Added brightness attribute to Light. Added separate equality test with and without epsilon to Color, similar to Vector2/3/4. 11 年之前
  Lasse Öörni 4080f024c5 Exposed IsPowerOfTwo(), NextPowerOfTwo() and SDBMHash() to script. 11 年之前
  Lasse Öörni 02e543ba5c Support for per-pixel negative lights. Added BLEND_SUBTRACT & BLEND_SUBTRACTALPHA blend modes. Light code cleanup. 11 年之前
  Lasse Öörni 2529f4c51a Added IsNaN() to Vector2, Vector3, Vector4, Quaternion. Safeguard against Node::LookAt() misbehaving if target is very close. Closes #231. 11 年之前
  Lasse Öörni c1205473d4 Tabs to spaces + other code formatting. 12 年之前
  mightyCelu 03888602bf Added scriptbindings for normal distribution generator and included the generator in the mathdefs 12 年之前
  Lasse Öörni 6d5ddc23e0 Bump the copyright for 2014. 12 年之前
  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. 12 年之前
  Nick Royer 9985f0a122 Added a convenience function to find the angle between two vectors. 12 年之前
  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. 12 年之前
  Nick Royer 432b9d3645 Added scripting APIs for the previous convenience functions 12 年之前
  Lasse Öörni cadb503976 Added transform by matrix functions to Plane. Added camera clipping plane support. Added basic reflective+refractive water shader + material. 12 年之前
  Lasse Öörni 6d38f23467 Added conversion of Plane to Vector4. 12 年之前
  Lasse Öörni 3343e52986 Added IsInside() to Rect & IntRect. Closes #128. 12 年之前
  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. 12 年之前
  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. 12 年之前
  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. 12 年之前
  Lasse Öörni f02650d10e Add int versions of Max, Min & Clamp to the AngelScript API. 12 年之前
  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. 12 年之前
  Lasse Öörni caf0994b8f Optimize vector/quaternion Normalize() to a no-op if already at unit length. Changed return value to void. 12 年之前
  Lasse Öörni e6d0b4d3f3 Normalize ray direction in constructor. 12 年之前
  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. 12 年之前
  Wei Tjong Yao 02512cecf9 In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'. 12 年之前