Skip to content

Commit

Permalink
Merge pull request #162 from treblereel/r106
Browse files Browse the repository at this point in the history
 R106
  • Loading branch information
treblereel authored Jul 11, 2020
2 parents 58034ad + 51fc79a commit 7569cad
Show file tree
Hide file tree
Showing 34 changed files with 11,819 additions and 10,122 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
## A Three.js wrapper for GWT

# Maven
Current Version 0.105, implements 0.105 version of three.js
Current Version 0.106, implements 0.106 version of three.js

```xml
<dependency>
<groupId>org.treblereel.gwt</groupId>
<artifactId>three4g</artifactId>
<version>0.105</version>
<version>0.106</version>
</dependency>
```
# Setup
Expand Down
2 changes: 1 addition & 1 deletion annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.treblereel.gwt</groupId>
<artifactId>three4g-parent</artifactId>
<version>0.106-SNAPSHOT</version>
<version>0.107-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.treblereel.gwt</groupId>
<artifactId>three4g-parent</artifactId>
<version>0.106-SNAPSHOT</version>
<version>0.107-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ public class Vector4 implements Vector {
*/
public float x, y, z, w;

/**
* Alias for z.
*/
public float width;

/**
* Alias for w.
*/
public float height;

@JsConstructor
public Vector4() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ public class LOD extends Object3D {
*/
public LODLevel[] levels;

/**
* Whether the LOD object is updated automatically by the renderer per frame or not. If set to false, you have to call LOD.update() in the render loop by yourself. Default is true.
*/
public boolean autoUpdate;

@JsConstructor
public LOD() {

Expand Down
Loading

0 comments on commit 7569cad

Please sign in to comment.