From 9df6d215cb4431fefdd2795c0cd434ffa04bc602 Mon Sep 17 00:00:00 2001 From: paulby Date: Mon, 29 Jan 2007 18:44:23 +0000 Subject: Implement RFE 438 git-svn-id: https://svn.java.net/svn/j3d-core-utils~svn/trunk@149 9497e636-51bd-65ba-982d-a4982e1767a5 --- .../sun/j3d/utils/universe/ConfiguredUniverse.java | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/classes/share/com/sun/j3d/utils/universe/ConfiguredUniverse.java b/src/classes/share/com/sun/j3d/utils/universe/ConfiguredUniverse.java index bbf3766..12bf68a 100644 --- a/src/classes/share/com/sun/j3d/utils/universe/ConfiguredUniverse.java +++ b/src/classes/share/com/sun/j3d/utils/universe/ConfiguredUniverse.java @@ -253,6 +253,29 @@ public class ConfiguredUniverse extends SimpleUniverse { this(transformCount, canvases, null, null, null, true); } + /** + * Creates a Locale, a single ViewingPlatform with the specified number of + * transforms, and a Viewer object using the given array of Canvas3D + * instances. + * + * @param canvases the canvases to associate with the Viewer object; + * passing in null will cause this parameter to be ignored and a canvas + * to be created by the utility + * @param transformCount the number of transforms in the + * MultiTransformGroup object to be created + * @param localeFactory the factory object used to create the Locale + * + * @since Java 3D 1.5.1 + * + * @see Locale + * @see Viewer + * @see ViewingPlatform + * @see MultiTransformGroup + */ + public ConfiguredUniverse(Canvas3D[] canvases, int transformCount, LocaleFactory localeFactory ) { + this(transformCount, canvases, null, localeFactory, null, true); + } + /** * Reads the configuration specified by the given URL to create a Locale, * one or more ViewingPlatforms, and at least one Viewer object. The -- cgit v1.2.3