mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
examples: Fix incorrect angles for "hexagonize" effect
The value for "deg30" was incorrectly calculated as (pi / 15.0) instead of (tau / 12.0).
This commit is contained in:
parent
2e8bc6210e
commit
ab2b632fb4
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ VertData VSDefault(VertData v_in) {
|
|||
|
||||
#define PI 3.1415926f
|
||||
#define TAU 6.2831853f
|
||||
#define deg30 0.20943951
|
||||
#define deg30 0.52359877
|
||||
|
||||
float hexDist(float2 a, float2 b){
|
||||
float2 p = abs(b-a);
|
||||
|
|
Loading…
Reference in a new issue