Project

General

Profile

« Previous | Next » 

Revision 9ecac8cd

Added by Leszek Koltunski about 4 years ago

Size of the FBO internal to Nodes is now NO MORE taken from the Mesh's stretch values.
Instead, the size is copied from child's FBO size (if there is one) or if the child is a leaf with texture in it (which is sizeless) then we get the default 100x100 ( which means we probably have to explicitly call Node.resizeFBO() )

View differences:

src/main/java/org/distorted/library/main/DistortedScreen.java
68 68
/**
69 69
 * Create a new Screen. Initially 1x1 in size.
70 70
 * <p>
71
 * Has to be followed by a 'resize()' to set the size.
71
 * Has to be followed by a 'resizeFBO()' to set the size.
72 72
 */
73 73
  public DistortedScreen()
74 74
    {

Also available in: Unified diff