|
@@ -370,6 +370,13 @@ open class PQGPUImageTools: NSObject {
|
|
|
postion.x + cropSizee.width, 1.0,
|
|
|
]
|
|
|
}
|
|
|
+
|
|
|
+ for i in 0 ..< textureCoordinates.count{
|
|
|
+ if(textureCoordinates[i] < 0){
|
|
|
+ textureCoordinates[i] = 0
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
textureCoordinates = textureCoordinatesForRotation(model: rotationMode, oldTextureCoordinates: textureCoordinates)
|
|
|
}
|