mirror of
https://github.com/openglobus/openglobus.git
synced 2025-12-08 19:25:27 +00:00
removed instanced option
This commit is contained in:
parent
fdb19b3ce4
commit
69b0784ee2
@ -4,7 +4,6 @@
|
||||
<title>OpenStreetMap Base Layer</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<script src="./drawingControl.js" type="module"></script>
|
||||
<link rel="stylesheet" href="../../lib/og.css" type="text/css" />
|
||||
</head>
|
||||
|
||||
|
||||
@ -79,7 +79,6 @@ class PolygonDrawingScene extends RenderNode {
|
||||
//
|
||||
this._cornerStyle = {
|
||||
scale: 0.5,
|
||||
instanced: true,
|
||||
tag: "corners",
|
||||
color: "rgb(350, 350, 0)",
|
||||
object3d: POINTER_OBJ3D,
|
||||
@ -88,7 +87,6 @@ class PolygonDrawingScene extends RenderNode {
|
||||
|
||||
this._centerStyle = {
|
||||
scale: 0.4,
|
||||
instanced: true,
|
||||
tag: "centers",
|
||||
color: "rgb(0, 350, 50)",
|
||||
object3d: POINTER_OBJ3D,
|
||||
|
||||
@ -30,7 +30,6 @@ export interface IGeoObjectParams {
|
||||
translate?: Vec3 | NumberArray3;
|
||||
color?: Vec4 | NumberArray4 | string;
|
||||
visibility?: boolean;
|
||||
instanced?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -45,7 +44,6 @@ export interface IGeoObjectParams {
|
||||
* @param {Vec3 | NumberArray3} [options.translate] - Translation offset.
|
||||
* @param {Vec4 | NumberArray4 | string} [options.color] - RGBA color or HTML color string.
|
||||
* @param {boolean} [options.visibility=true] - Visibility flag.
|
||||
* @param {boolean} [options.instanced=true] - Whether the object is instanced or not. (unused for now)
|
||||
*
|
||||
* @todo: GeoObject and GeoObjectHandler provides instanced objects only.
|
||||
* It would be nice if it could provide not instanced rendering loop too.
|
||||
@ -96,7 +94,6 @@ class GeoObject {
|
||||
public _objectSrc?: string;
|
||||
|
||||
protected _visibility: boolean;
|
||||
protected _instanced: boolean = true;
|
||||
|
||||
protected _children: GeoObject[];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user