commit | 64926223504cf03b5872a8545154bb6b32ae6473 | [log] [tgz] |
---|---|---|
author | Stefan Dösinger <stefan@codeweavers.com> | Tue May 12 20:11:50 2009 +0200 |
committer | Alexandre Julliard <julliard@winehq.org> | Wed May 27 11:56:53 2009 +0200 |
tree | 69dd5c20cdd7ceefb44922656f9b7efed07fab28 | |
parent | 2f3faf452646b8d249aeb827acdbc3d33fb54a30 [diff] |
wined3d: sincos for vertex shaders. SCS is unfortunately a fragment program only instruction. If we have the NV extensions we can use SIN and COS. Otherwise we have to approximate sine and cosine with a taylor series. Luckily we're provided with the necessary constants by the application.