From e5d0cc326ad748f4b246f10a54d442d9e622469c Mon Sep 17 00:00:00 2001 From: aardgoose Date: Sat, 9 Apr 2016 11:05:22 +0100 Subject: [PATCH] Documentation Geometry fixes (#8584) * remove non existent property "dynamic" * colorsNeedUpdate required for face3 color updates * documents groupsNeedUpdate * document areaWeighted parameter of method computeVertexNormals --- docs/api/core/Geometry.html | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/api/core/Geometry.html b/docs/api/core/Geometry.html index 5c1c997bfe..c63eb54d69 100644 --- a/docs/api/core/Geometry.html +++ b/docs/api/core/Geometry.html @@ -150,13 +150,6 @@ { radius: float } -

[property:Boolean dynamic]

-
- Set to *true* if attribute buffers will need to change in runtime (using "dirty" flags).
- Unless set to true internal typed arrays corresponding to buffers will be deleted once sent to GPU.
- Defaults to true. -
-

[property:Boolean verticesNeedUpdate]

Set to *true* if the vertices array has been updated. @@ -179,7 +172,12 @@

[property:Boolean colorsNeedUpdate]

- Set to *true* if the colors array has been updated. + Set to *true* if the colors array or a face3 color has been updated. +
+ +

[property:Boolean groupdsNeedUpdate]

+
+ Set to *true* if a face3 materialIndex has been updated.

[property:Boolean lineDistancesNeedUpdate]

@@ -252,7 +250,10 @@ Computes face normals.
-

[method:null computeVertexNormals]()

+

[method:null computeVertexNormals]( [page:Boolean areaWeighted] )

+
+ areaWeighted - If true the contributution of each face normal to the vertex normal is weighted by the area of the face. Default is true. +
Computes vertex normals by averaging face normals.
Face normals must be existing / computed beforehand. -- GitLab