Project

General

Profile

« Previous | Next » 

Revision c61b08e4

Added by Leszek Koltunski over 4 years ago

Fix VertexEffectRotate.
'MeshJoin' app now back it its functionality from 'master'

View differences:

src/main/java/org/distorted/library/effect/VertexEffectRotate.java
67 67

  
68 68
      "float angle = vUniforms[effect].x*3.1415/360.0;\n"
69 69
    + "vec3 center = vUniforms[effect+1].yzw;         \n"
70
    + "float sinHalf = sin(angle);                    \n"
70
    + "float sinHalf =-sin(angle);                    \n"
71 71
    + "float cosHalf = cos(angle);                    \n"
72 72

  
73 73
    + "float qx = vUniforms[effect].y * sinHalf;      \n"

Also available in: Unified diff