Commit 6bbe86e5 authored by iSergio's avatar iSergio
Browse files

Merge branch 'develop' into 'master'

Pre release

See merge request !53
parents 21b5ccc7 3685eb2a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
    <parent>
        <artifactId>cesiumjs4gwt</artifactId>
        <groupId>org.cesiumjs</groupId>
        <version>1.99.0</version>
        <version>1.99.1</version>
    </parent>

    <name>CesiumJS GWT Wrapper</name>
+0 −28
Original line number Diff line number Diff line
@@ -474,32 +474,4 @@ public class Cesium {
            return options;
        }
    }

    /**
     * Flags to enable experimental features in CesiumJS. Stability and performance
     * may not be optimal when these are enabled. Experimental features are subject
     * to change without Cesium's standard deprecation policy.
     * <p>
     * Experimental features must still uphold Cesium's quality standards. Here
     * are some guidelines:
     * </p>
     * <ul>
     *   <li>Experimental features must have high unit test coverage like any other feature.</li>
     *   <li>Experimental features are intended for large features where there is benefit of merging some of the
     *   code sooner (e.g. to avoid long-running staging branches)</li>
     *   <li>Experimental flags should be short-lived. Make it clear in the PR what it would take to promote the
     *   feature to a regular feature.</li>
     *   <li>To avoid cluttering the code, check the flag in as few places as possible. Ideally this would be a single place.</li>
     * </ul>
     *
     * experimental: This feature is using part of the 3D Tiles spec that is not final and is subject to change
     * without Cesium's standard deprecation policy.
     */
    @JsType(isNative = true, namespace = "Cesium", name = "ExperimentalFeatures")
    public static class ExperimentalFeatures {
        /**
         * Toggles the usage of the ModelExperimental class.
         */
        public static boolean enableModelExperimental;
    }
}
+9 −1
Original line number Diff line number Diff line
@@ -17,9 +17,9 @@
package org.cesiumjs.cs.core;

import jsinterop.annotations.JsConstructor;
import jsinterop.annotations.JsFunction;
import jsinterop.annotations.JsMethod;
import jsinterop.annotations.JsType;
import org.cesiumjs.cs.scene.Scene;

/**
 * A set of functions to detect whether the current browser supports various
@@ -37,6 +37,14 @@ public class FeatureDetection {
    private FeatureDetection() {
    }

    /**
     * Detects whether the current browser supports Basis Universal textures and the web assembly modules needed
     * to transcode them.
     * @param scene Scene
     * @return true if the browser supports web assembly modules and the scene supports Basis Universal textures, false if not.
     */
    public static native boolean supportsBasis(Scene scene);

    /**
     * Detects whether the current browser supports BigInt.
     * @return true if the browser supports BigInt, false if not.
+8 −0
Original line number Diff line number Diff line
@@ -138,6 +138,14 @@ public class BillboardGraphicsOptions {
     */
    @JsProperty
    public Property heightReference;
    /**
     * Gets or sets the distance from the camera at which to disable the depth test
     * to, for example, prevent clipping against terrain. When set to zero, the
     * depth test is always applied. When set to Number.POSITIVE_INFINITY, the depth
     * test is never applied. Default: 0.0
     */
    @JsProperty
    public Property disableDepthTestDistance;
    /**
     * A Property specifying at what distance from the camera that this billboard
     * will be displayed.
+3 −0
Original line number Diff line number Diff line
@@ -33,6 +33,9 @@ public class JsArray<T extends Object> {
    @JsProperty(name = "length")
    public native int length();

    @JsMethod
    public native T at(int index);

    /**
     * Fills all the elements of an array from a start index to an end index with a
     * static value.
Loading