Revision 46a52b78
Added by Leszek Koltunski almost 9 years ago
| src/main/java/org/distorted/library/DistortedFramebuffer.java | ||
|---|---|---|
| 255 | 255 |
* Create new Projection matrix. |
| 256 | 256 |
* |
| 257 | 257 |
* @param fov Vertical 'field of view' of the Projection frustrum (in degrees). |
| 258 |
* @param x X-coordinate of the point at which our camera looks at. -mWidth/2 < x < mWidth/2
|
|
| 259 |
* @param y Y-coordinate of the point at which our camera looks at. -mHeight/2 < y < mHeight/2
|
|
| 258 |
* @param x X-coordinate of the point at which our camera looks at. 0 is the center.
|
|
| 259 |
* @param y Y-coordinate of the point at which our camera looks at. 0 is the center.
|
|
| 260 | 260 |
*/ |
| 261 | 261 |
public void setProjection(float fov, float x, float y) |
| 262 | 262 |
{
|
Also available in: Unified diff
Fix the 'Save' app so that the saving thread does not run all the time in a tight loop