Commit 555587eb authored by iSergio's avatar iSergio
Browse files

Remove ExperimentalFeatures

parent c8b1c581
Loading
Loading
Loading
Loading
+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;
    }
}
+0 −2
Original line number Diff line number Diff line
@@ -42,8 +42,6 @@ public class CustomShaders3DTiles extends AbstractExample {

    @Override
    public void buildPanel() {
        Cesium.ExperimentalFeatures.enableModelExperimental = true;

        ViewerPanel csVPanel = new ViewerPanel();

        CustomShaderOptions customShaderOptions = new CustomShaderOptions();
+0 −2
Original line number Diff line number Diff line
@@ -78,8 +78,6 @@ public class CustomShadersModels extends AbstractExample {

    @Override
    public void buildPanel() {
        Cesium.ExperimentalFeatures.enableModelExperimental = true;

        ViewerOptions options = new ViewerOptions();
        options.orderIndependentTranslucency = false;
        csVPanel = new ViewerPanel(options);
+0 −2
Original line number Diff line number Diff line
@@ -57,8 +57,6 @@ public class Tiles3DNextCDBYemen extends AbstractExample {

    @Override
    public void buildPanel() {
        Cesium.ExperimentalFeatures.enableModelExperimental = true;

        ViewerPanel csVPanel = new ViewerPanel();
        viewer = csVPanel.getViewer();

+0 −1
Original line number Diff line number Diff line
@@ -62,7 +62,6 @@ public class Tiles3DNextPhotogrammetryClassification extends AbstractExample {

    @Override
    public void buildPanel() {
        Cesium.ExperimentalFeatures.enableModelExperimental = true;
        ViewerOptions options = new ViewerOptions();
        options.terrainProvider = Cesium.createWorldTerrain();
        options.infoBox = false;
Loading