Project

General

Profile

« Previous | Next » 

Revision 64c209f5

Added by Leszek Koltunski over 2 years ago

Fix problems with TwistyObjectNode 'object scale' property.
Now this property is not part of the Node at all, but its initial value passed to the object in its constructor.

View differences:

src/main/java/org/distorted/objectlib/main/TwistyJson.java
36 36

  
37 37
///////////////////////////////////////////////////////////////////////////////////////////////////
38 38

  
39
  public TwistyJson(InputStream jsonStream, Static4D quat, Static3D move, InputStream meshStream)
39
  public TwistyJson(InputStream jsonStream, Static4D quat, Static3D move, float scale, InputStream meshStream)
40 40
    {
41
    super(jsonStream, quat, move, meshStream);
41
    super(jsonStream, quat, move, scale, meshStream);
42 42
    }
43 43

  
44 44
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff