From a8fcc64b7bbb3ba6478bdaae5f15e33d0c17bda0 Mon Sep 17 00:00:00 2001 From: damrem Date: Sun, 27 Nov 2016 22:58:33 +0100 Subject: [PATCH 1/2] clean doc --- away3d/primitives/PrimitiveBase.hx | 1 - 1 file changed, 1 deletion(-) diff --git a/away3d/primitives/PrimitiveBase.hx b/away3d/primitives/PrimitiveBase.hx index d45a877..646cfa1 100755 --- a/away3d/primitives/PrimitiveBase.hx +++ b/away3d/primitives/PrimitiveBase.hx @@ -18,7 +18,6 @@ class PrimitiveBase extends Geometry { private var _subGeometry:CompactSubGeometry; /** * Creates a new PrimitiveBase object. - * @param material The material with which to render the object */ public function new() { super(); From 5deb5a393b16456bfe5543d1c9c44b434d1b1741 Mon Sep 17 00:00:00 2001 From: damrem Date: Sun, 27 Nov 2016 22:56:34 +0100 Subject: [PATCH 2/2] delay DelaunayMesh.hx super instanciation after some more setup to prevent some null reference --- away3d/extrusions/DelaunayMesh.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/away3d/extrusions/DelaunayMesh.hx b/away3d/extrusions/DelaunayMesh.hx index 94451d2..08e6221 100755 --- a/away3d/extrusions/DelaunayMesh.hx +++ b/away3d/extrusions/DelaunayMesh.hx @@ -74,12 +74,12 @@ class DelaunayMesh extends Mesh { var geom:Geometry = new Geometry(); _subGeometry = new SubGeometry(); geom.addSubGeometry(_subGeometry); - super(geom, material); _vectors = vectors; _centerMesh = centerMesh; _plane = plane; _flip = flip; _smoothSurface = smoothSurface; + super(geom, material); } /**