Commit History

Author SHA1 Message Date
  WestLangley a7ed6b10ff Name closured functions (#9116) 9 years ago
  Mr.doob 41068f8283 Math: Added DEG2RAD and RAD2DEG. See #8471. 9 years ago
  Mr.doob 21e2216b1b Math: Deprecated random16(). 9 years ago
  Mr.doob ff3465c7f0 WebGLRenderer: Convert to power of two textures that require it instead of giving wrap/minFilter warnings. 9 years ago
  Mr.doob 7956297be9 Math: Removed clampBottom. 9 years ago
  Mr.doob 70bd430c73 Math: Using max/min in clamp(). See #7326. 9 years ago
  gero3 923256459e fixed files to codestyle 10 years ago
  Mr.doob ad50d97541 Reverted Math.randInt change. See discussion in 2258b069efb14a2fec6d96c161622b1c9577b09f. 10 years ago
  Gregg Tavares a1d3430b22 mod hue and clamp saturation and lightness 10 years ago
  Fabian Lange dad328077d use strict (in)equalities 10 years ago
  Mr.doob aababd2eb9 Math: Added nextPowerOfTwo method. 10 years ago
  Mr.doob 2258b069ef Math: randInt return value in range between low (inclusive) and high (exclusive). Thanks @AaronMeyers. 10 years ago
  Mr.doob 90ab0b70bf Polyfill for Math.sign(). 11 years ago
  Joshua Koo aafd29c50a Code transforming mrdoob style second attempt See #4806 11 years ago
  srifqi cf02d6a0f6 Delete THREE.Math.PI2 11 years ago
  Mr.doob a54c8a5676 Euler: Replace instantiating clamp function with THREE.Math.clamp. 11 years ago
  Mr.doob 789a84382f ExtrudeGeometry using THREE.Math.sign() 11 years ago
  Christopher Probst 9410acc9a9 #4289 Move isPowerOfTwo to THREE.Math and update all references 11 years ago
  Mr.doob 4d3da59eee Editor: Added button for generating new UUID. 12 years ago
  Mr.doob 2ead684b45 Post merge fixes. 12 years ago
  Mr.doob f7e1e26b74 Merging with @bhouston/euler3. 12 years ago
  Mr.doob a220c6c347 Renamed Math.uuid() to Math.generateUUID() 12 years ago
  Mr.doob 76f65d7fdb Using RFC4122, version 4 for ids instead of incremental number. 12 years ago
  Mr.doob 9d688e40d9 Renamed smoothStep and smootherStep to smoothstep and smootherstep to make it consistent with GLSL. Implemented it in CanvasRenderer. 12 years ago
  Ben Houston d0a6c5ab5b add THREE.Math.smoothStep and THREE.Math.smootherStep based on Wikipedia article. 12 years ago
  Mr.doob f60212b5b0 Removed re-asigning of constructors. 12 years ago
  Ben Houston e2df06e005 fix three missed conversions to closures. switch to extending math prototypes rather than replacing them. This is to ensure that types created in closures within a type's prototype definition get their prototype updated with the full definition. 12 years ago
  Ben Houston 6e0d2115ca adopting THREE.Math.degToRad/radToDeg for code readability. 12 years ago
  Mr.doob 7f84c7655c Fixed compiler errors. 12 years ago
  Ben Houston b11e805560 add degreesToRadians / radiansToDegrees to Math. 12 years ago