From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a03206.html | 168 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 168 insertions(+) create mode 100644 docs/doxygen/nel/a03206.html (limited to 'docs/doxygen/nel/a03206.html') diff --git a/docs/doxygen/nel/a03206.html b/docs/doxygen/nel/a03206.html new file mode 100644 index 00000000..47ed25c8 --- /dev/null +++ b/docs/doxygen/nel/a03206.html @@ -0,0 +1,168 @@ + + +NeL: NL3D::CPSHintParticleRotateTheSame struct Reference + + + +
+

NL3D::CPSHintParticleRotateTheSame Struct Reference

#include <ps_particle_basic.h> +

+

Inheritance diagram for NL3D::CPSHintParticleRotateTheSame: +

+ +NL3D::CPSConstraintMesh +NL3D::CPSFace + +

Detailed Description

+This add a hint to rotated particle : only a few one are rotated, and the other are duplcated +

+ +

+Definition at line 721 of file ps_particle_basic.h. + + + + + + + + +

Public Member Functions

virtual uint32 checkHintRotateTheSame (float &minAngularVelocity, float &maxAngularVelocity) const=0
virtual void disableHintRotateTheSame (void)=0
virtual void hintRotateTheSame (uint32 nbConfiguration, float minAngularVelocity=NLMISC::Pi, float maxAngularVelocity=NLMISC::Pi)=0
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
virtual uint32 NL3D::CPSHintParticleRotateTheSame::checkHintRotateTheSame float &  minAngularVelocity,
float &  maxAngularVelocity
const [pure virtual]
+
+ + + + + +
+   + + +

+check wether a call to hintRotateTheSame was performed

Returns:
0 if the hint is disabled, the number of configurations else
+
See also:
hintRotateTheSame(), CPSRotated3dPlaneParticle
+ +

+Implemented in NL3D::CPSFace, and NL3D::CPSConstraintMesh.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::CPSHintParticleRotateTheSame::disableHintRotateTheSame void   )  [pure virtual]
+
+ + + + + +
+   + + +

+disable the hint 'hintRotateTheSame' The previous set scheme for roation is used

See also:
hintRotateTheSame(), CPSRotated3dPlaneParticle
+ +

+Implemented in NL3D::CPSFace, and NL3D::CPSConstraintMesh.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
virtual void NL3D::CPSHintParticleRotateTheSame::hintRotateTheSame uint32  nbConfiguration,
float  minAngularVelocity = NLMISC::Pi,
float  maxAngularVelocity = NLMISC::Pi
[pure virtual]
+
+ + + + + +
+   + + +

+Tells that all particles are turning in the same manner, and only have a rotationnal bias This is faster then other method. Any previous set scheme for 3d rotation is kept.

Parameters:
+ + + + +
 the number of rotation configuration we have. The more high it is, the slower it'll be If this is too low, a lot of particles will have the same orientation If it is 0, then the hint is disabled
minAngularVelocity : the maximum angular velocity for particle rotation
maxAngularVelocity : the maximum angular velocity for particle rotation
+
+
See also:
CPSRotated3dPlaneParticle
+ +

+Implemented in NL3D::CPSFace, and NL3D::CPSConstraintMesh.

+


The documentation for this struct was generated from the following file: +
Generated on Tue Mar 16 07:15:23 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1