ywywdh / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

Broken Docuemntation on ParticleField Constructor #127

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Patch to fix it (posted here as per
http://www.nabble.com/Patch%3A-fix-a-Documentation-bug-tt20443735.html ):

Index: ParticleField.as
===================================================================
--- ParticleField.as    (revision 772)
+++ ParticleField.as    (working copy)
@@ -19,8 +19,8 @@
               /**
               * The ParticleField class creates an object with an
amount of particles randomly distributed over a specied 3d area.
               * @param        material        The Material for the
to be created particles
-               * @param        color           The color of the
created particles
-               * @param        container       An alternate container
to render to, if needed.
+               * @param        quantity        The number of
particles in the field
+               * @param        particleSize    The size of the
created particles
               * @param        fieldWidth      The width of the area
               * @param        fieldHeight The height of the area
               * @param        fieldDepth      The depth of the area

Original issue reported on code.google.com by bill.m...@gmail.com on 11 Nov 2008 at 5:55

GoogleCodeExporter commented 9 years ago
Sorry, line breaks got in there when I copied:

Index: src/org/papervision3d/objects/special/ParticleField.as
===================================================================
--- src/org/papervision3d/objects/special/ParticleField.as      (revision 772)
+++ src/org/papervision3d/objects/special/ParticleField.as      (working copy)
@@ -19,8 +19,8 @@
                /**
                * The ParticleField class creates an object with an amount of
particles randomly distributed over a specied 3d area.
                * @param        material        The Material for the to be created
particles
-               * @param        color           The color of the created 
particles
-               * @param        container       An alternate container to 
render to,
if needed.
+               * @param        quantity        The number of particles in the 
field
+               * @param        particleSize    The size of the created 
particles
                * @param        fieldWidth      The width of the area
                * @param        fieldHeight The height of the area
                * @param        fieldDepth      The depth of the area 

Original comment by bill.m...@gmail.com on 11 Nov 2008 at 5:58

GoogleCodeExporter commented 9 years ago
grrr... google added the line break before "if needed". Sorry for the noisy 
report.

Original comment by bill.m...@gmail.com on 11 Nov 2008 at 5:59

Attachments:

GoogleCodeExporter commented 9 years ago
Assigned

Original comment by r.hauw...@gmail.com on 17 Nov 2008 at 12:11

GoogleCodeExporter commented 9 years ago
Resolved and fixed by john with rev 792. 

Original comment by r.hauw...@gmail.com on 17 Nov 2008 at 1:46