Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Subtract the central sphere, and update the animation to match | Morten Hustveit | 2014-12-02 |
| | |||
* | 3dmath.c: Remove sqrt from sphere_intersect | Morten Hustveit | 2014-12-02 |
| | | | | | Interestingly, this seems to only save 1ms/frame on yelena. But that's still 16% of a 60fps frame. | ||
* | 3dmath.c: Early out of sphere_intersect on t <= 0 | Morten Hustveit | 2014-12-02 |
| | | | | | | | The loop in ray.c discards any data from intersections with t <= 0 anyway, so we might as well not calculate it. This saves 15 ms/frame on yelena. | ||
* | 3dmath.c: Throw restrict on all parameters to sphere_intersect | Morten Hustveit | 2014-12-02 |
| | | | | This saves 3ms / frame on yelena. | ||
* | 3dmath.c: In normalize, calculate reciprocal only once, and use sqrtf | Morten Hustveit | 2014-12-02 |
| | | | | This saves about 12ms per frame on yelena. | ||
* | 3dmath: Use const-correct function declarations | Morten Hustveit | 2014-12-02 |
| | |||
* | Minor style changes | Morten Hustveit | 2014-12-02 |
| | |||
* | Works. | Martin Stensgård | 2010-10-20 |
| | |||
* | Fail. | Martin Stensgård | 2010-10-19 |