Project

General

Profile

« Previous | Next » 

Revision 0e3b06d1

Added by Leszek Koltunski over 2 years ago

Minor

View differences:

src/main/java/org/distorted/library/uniformblock/UniformBlockFloatUniforms.java
43 43
    {
44 44
    mNumUniforms = numUniforms;
45 45
    mSize        = size;
46
    mArray= new float[mNumUniforms*mSize];
46
    mArray       = new float[mNumUniforms*mSize];
47 47
    mReallyUseUBO= reallyUse;
48 48

  
49 49
    if( mReallyUseUBO )
......
58 58
    {
59 59
    mNumUniforms = original.mNumUniforms;
60 60
    mSize        = original.mSize;
61
    mArray= new float[mNumUniforms*mSize];
61
    mArray       = new float[mNumUniforms*mSize];
62 62
    mReallyUseUBO= original.mReallyUseUBO;
63 63

  
64 64
    System.arraycopy(original.mArray, 0, mArray, 0, 3*mSize);
src/main/java/org/distorted/library/uniformblock/UniformBlockIntUniforms.java
43 43
    {
44 44
    mNumUniforms = numUniforms;
45 45
    mSize        = size;
46
    mArray= new int[mNumUniforms*mSize];
46
    mArray       = new int[mNumUniforms*mSize];
47 47
    mReallyUseUBO= reallyUse;
48 48

  
49 49
    if( mReallyUseUBO )
......
58 58
    {
59 59
    mNumUniforms = original.mNumUniforms;
60 60
    mSize        = original.mSize;
61
    mArray= new int[mNumUniforms*mSize];
61
    mArray       = new int[mNumUniforms*mSize];
62 62
    mReallyUseUBO= original.mReallyUseUBO;
63 63

  
64 64
    System.arraycopy(original.mArray, 0, mArray, 0, mSize);

Also available in: Unified diff