(int scrX, int scrY)
| 1549 | |
| 1550 | |
| 1551 | protected int getColorValue(int scrX, int scrY) { |
| 1552 | if (colorBuffer == null) { |
| 1553 | colorBuffer = IntBuffer.allocate(1); |
| 1554 | } |
| 1555 | colorBuffer.rewind(); |
| 1556 | readPixels(scrX, graphics.height - scrY - 1, 1, 1, RGBA, UNSIGNED_BYTE, |
| 1557 | colorBuffer); |
| 1558 | return colorBuffer.get(); |
| 1559 | } |
| 1560 | |
| 1561 | |
| 1562 | protected float getDepthValue(int scrX, int scrY) { |
nothing calls this directly
no test coverage detected