Project

General

Profile

« Previous | Next » 

Revision 111217c2

Added by Leszek Koltunski almost 7 years ago

Debugging Glow.

View differences:

src/main/java/org/distorted/examples/glow/GlowRenderer.java
112 112
     {
113 113
     float qw = (float)width /mRootW;
114 114
     float qh = (float)height/mRootH;
115
     float factor = 0.5f* (qw<qh ? qw:qh);
115
     float factor = 0.1f* (qw<qh ? qw:qh);
116 116
     int w = (int)(factor*mRootW);
117 117
     int h = (int)(factor*mRootH);
118 118

  

Also available in: Unified diff