( value, min, max )
| 10051 | } |
| 10052 | |
| 10053 | function smoothstep( value, min, max ) { |
| 10054 | |
| 10055 | var x = ( value - min ) / ( max - min ); |
| 10056 | return x * x * ( 3 - 2 * x ); |
| 10057 | |
| 10058 | } |
| 10059 | |
| 10060 | function normalToComponent( normal ) { |
| 10061 |
no outgoing calls
no test coverage detected