File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed
src/main/java/com/otaliastudios/opengl/draw Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1- ### v0.3.0
1+ ### v0.3.1
2+
3+ - Fixes a bug in texture program ([ #9 ] [ 9 ] )
4+
5+ https://github.com/natario1/Egloo/compare/v0.3.0...v0.3.1
6+
7+ ## v0.3.0
28
39- Support for non-rect shapes in textures ([ #8 ] [ 8 ] )
410
@@ -31,3 +37,4 @@ https://github.com/natario1/Egloo/compare/v0.2.1...v0.2.2
3137[ 5 ] : https://github.com/natario1/Egloo/pull/5
3238[ 7 ] : https://github.com/natario1/Egloo/pull/7
3339[ 8 ] : https://github.com/natario1/Egloo/pull/8
40+ [ 9 ] : https://github.com/natario1/Egloo/pull/9
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ with respect to a typical object-oriented context. Egloo tries to take some of t
1010by creating a ** thin** , flexible layer of abstraction around EGL and GLES calls.
1111
1212``` groovy
13- implementation 'com.otaliastudios.opengl:egloo:0.3.0 '
13+ implementation 'com.otaliastudios.opengl:egloo:0.3.1 '
1414```
1515
1616⠀ ; <!-- Hack to add whitespace -->
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ apply plugin: 'com.github.dcendents.android-maven'
55apply plugin : ' com.jfrog.bintray'
66
77ext {
8- libVersion = ' 0.3.0 '
8+ libVersion = ' 0.3.1 '
99 libGroup = ' com.otaliastudios.opengl'
1010 libName = ' Egloo'
1111 libDescription = ' Simple and lightweight OpenGL ES drawing and EGL management for Android, with object-oriented components based on Google\' s Grafika.'
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ abstract class Gl2dDrawable: GlDrawable() {
99 final override val coordsPerVertex = 2
1010
1111 fun getBounds (rect : RectF ) {
12- var top = Float .MIN_VALUE
12+ var top = - Float .MAX_VALUE // not MIN_VALUE!
1313 var bottom = Float .MAX_VALUE
1414 var left = Float .MAX_VALUE
15- var right = Float .MIN_VALUE
15+ var right = - Float .MAX_VALUE
1616 var count = 0
1717 while (vertexArray.hasRemaining()) {
1818 val value = vertexArray.get()
You can’t perform that action at this time.
0 commit comments