regularize length of comment slashes

This commit is contained in:
David Rose 2005-05-19 00:22:28 +00:00
parent e01f373b7a
commit ace4407e7e
69 changed files with 82 additions and 82 deletions

View File

@ -178,7 +178,7 @@
class GeomNode;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : Builder
// Description : The main driver class to the builder package. See
// the comments above.

View File

@ -19,7 +19,7 @@
#ifndef BUILDERATTRIB_H
#define BUILDERATTRIB_H
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
//
// BuilderAttrib, BuilderAttribI
//
@ -33,7 +33,7 @@
// and BuilderAttribI are actually both instantiations of the same
// template class, BuilderAttribTempl.
//
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
#include "pandabase.h"

View File

@ -39,7 +39,7 @@ class Geom;
class PandaNode;
class GeomNode;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : BuilderBucket
// Description : The main grouping tool for BuilderPrims. See the
// comments at the beginning of builder.h.

View File

@ -30,7 +30,7 @@ class GeomNode;
class GeomNode;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : BuilderBucketNode
// Description : This is a wrapper class around BuilderBucket, used by
// the Builder class. It stores a pointer to a

View File

@ -32,7 +32,7 @@
#include "pvector.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : BuilderNormalVisualizer
// Description : A useful class for collecting information about
// vertices and their associated normals as geometry is

View File

@ -19,7 +19,7 @@
#ifndef BUILDERPRIM_H
#define BUILDERPRIM_H
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
//
// BuilderPrim, BuilderPrimI
//
@ -59,7 +59,7 @@
// store the attributes specific to each individual component
// (e.g. the normal of each triangle in a triangle strip).
//
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
#include "pandabase.h"
#include "builderPrimTempl.h"
@ -100,7 +100,7 @@ public:
};
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : BuilderPrimI
// Description : The basic class for passing indexed primitives
// to the builder.

View File

@ -19,7 +19,7 @@
#ifndef BUILDERVERTEX_H
#define BUILDERVERTEX_H
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
//
// BuilderVertex, BuilderVertexI
//
@ -45,7 +45,7 @@
// BuilderVertex type) and thus easily support both indexed and
// nonindexed geometry.
//
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
#include "pandabase.h"

View File

@ -34,7 +34,7 @@
#include "nodePath.h"
#include "clipPlaneAttrib.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionEntry
// Description : Defines a single collision event. One of these is
// created for each collision detected by a

View File

@ -25,7 +25,7 @@
class CollisionEntry;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionHandler
// Description : The abstract interface to a number of classes that
// decide what to do when a collision is detected. One

View File

@ -28,7 +28,7 @@
#include "vector_string.h"
#include "pointerTo.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionHandlerEvent
// Description : A specialized kind of CollisionHandler that throws an
// event for each collision detected. The event thrown

View File

@ -23,7 +23,7 @@
#include "collisionHandlerPhysical.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionHandlerFloor
// Description : A specialized kind of CollisionHandler that sets the
// Z height of the collider to a fixed linear offset

View File

@ -23,7 +23,7 @@
#include "collisionHandlerPhysical.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionHandlerGravity
// Description : A specialized kind of CollisionHandler that sets the
// Z height of the collider to a fixed linear offset

View File

@ -28,7 +28,7 @@
#include "pointerTo.h"
#include "pandaNode.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionHandlerPhysical
// Description : The abstract base class for a number of
// CollisionHandlers that have some physical effect on

View File

@ -23,7 +23,7 @@
#include "collisionHandlerPhysical.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionHandlerPusher
// Description : A specialized kind of CollisionHandler that simply
// pushes back on things that attempt to move into solid

View File

@ -24,7 +24,7 @@
#include "collisionHandler.h"
#include "collisionEntry.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionHandlerQueue
// Description : A special kind of CollisionHandler that does nothing
// except remember the CollisionEntries detected the

View File

@ -23,7 +23,7 @@
#include "collisionSphere.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionInvSphere
// Description : An inverted sphere: this is a sphere whose collision
// surface is the inside surface of the sphere.

View File

@ -23,7 +23,7 @@
#include "collisionRay.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionLine
// Description : An infinite line, similar to a CollisionRay, except
// that it extends in both directions. It is, however,

View File

@ -26,7 +26,7 @@
#include "luse.h"
#include "plane.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionPlane
// Description :
////////////////////////////////////////////////////////////////////

View File

@ -29,7 +29,7 @@
class GeomNode;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionPolygon
// Description :
////////////////////////////////////////////////////////////////////

View File

@ -25,7 +25,7 @@
class LensNode;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionRay
// Description : An infinite ray, with a specific origin and
// direction. It begins at its origin and continues in

View File

@ -25,7 +25,7 @@
class LensNode;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionSegment
// Description : A finite line segment, with two specific endpoints
// but no thickness. It's similar to a CollisionRay,

View File

@ -36,7 +36,7 @@ class GeomNode;
class CollisionNode;
class CullTraverserData;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionSolid
// Description : The abstract base class for all things that can
// collide with other things in the world, and all the

View File

@ -23,7 +23,7 @@
#include "collisionSolid.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionSphere
// Description : A spherical collision volume or object.
////////////////////////////////////////////////////////////////////

View File

@ -23,7 +23,7 @@
#include "collisionSolid.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CollisionTube
// Description : This implements a solid roughly in cylindrical shape.
// It's not called a CollisionCylinder because it's not

View File

@ -19,7 +19,7 @@
#ifndef EGGBINMAKER_H
#define EGGBINMAKER_H
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
//
// EggBinMaker
//
@ -209,7 +209,7 @@
// EggBins created. Each EggBin stores its bin number, which may be
// retrieved via get_bin_number().
//
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
#include "pandabase.h"

View File

@ -23,7 +23,7 @@
#include "eggNode.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : EggComment
// Description : A comment that appears in an egg file within a
// <Comment> entry.

View File

@ -26,7 +26,7 @@
#include "coordinateSystem.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : EggCoordinateSystem
// Description : The <CoordinateSystem> entry at the top of an egg
// file. Don't confuse this with the enum

View File

@ -27,7 +27,7 @@
#include "notify.h"
#include "dSearchPath.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : EggData
// Description : This is the primary interface into all the egg data,
// and the root of the egg file structure. An EggData

View File

@ -25,7 +25,7 @@
#include "luse.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : EggMaterial
// Description :
////////////////////////////////////////////////////////////////////
@ -111,7 +111,7 @@ private:
static TypeHandle _type_handle;
};
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : UniqueEggMaterials
// Description : An STL function object for sorting materials into
// order by properties. Returns true if the two

View File

@ -30,7 +30,7 @@
#include <algorithm>
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : EggMesher
// Description : Collects together unrelated EggPrimitives, determines
// their edge connectivity, and generates a set of

View File

@ -26,7 +26,7 @@
class EggMesherStrip;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : EggMesherEdge
// Description : Represents one edge of a triangle, as used by the
// EggMesher to discover connected triangles. The edge

View File

@ -32,7 +32,7 @@
class EggMesher;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : EggMesherFanMaker
// Description : This class is used by EggMesher::find_fans() to
// attempt to make an EggTriangleFan out of the polygons

View File

@ -27,7 +27,7 @@
class EggMesherEdge;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : EggMesherStrip
// Description : Represents a triangle strip or quad strip in
// progress, as assembled by the mesher. It might also

View File

@ -19,7 +19,7 @@
#ifndef EGGNAMEUNIQUIFIER_H
#define EGGNAMEUNIQUIFIER_H
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
//
// EggNameUniquifier
//
@ -72,7 +72,7 @@
// (with a new index number) until it finally returns a unique
// name.
//
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
#include "pandabase.h"

View File

@ -21,7 +21,7 @@
#include "pandabase.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : EggParameters
// Description : The values stored in this structure are global
// parameters that control some aspects of the egg

View File

@ -25,7 +25,7 @@
#include "dcast.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : EggPolysetMaker
// Description : A specialization on EggBinMaker for making polysets
// that share the same basic rendering characteristic.

View File

@ -325,7 +325,7 @@ private:
static TypeHandle _type_handle;
};
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : UniqueEggTextures
// Description : An STL function object for sorting textures into
// order by properties. Returns true if the two

View File

@ -181,7 +181,7 @@ INLINE ostream &operator << (ostream &out, const EggVertex &vert) {
return out;
}
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : UniqueEggVertices
// Description : An STL function object for sorting vertices into
// order by properties. Returns true if the two

View File

@ -33,7 +33,7 @@ class AnimBundleNode;
class AnimChannelScalarTable;
class AnimChannelMatrixXfmTable;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : AnimBundleMaker
// Description : Converts an EggTable hierarchy, beginning with a
// <Bundle> entry, into an AnimBundle hierarchy.

View File

@ -43,7 +43,7 @@ class MovingPartBase;
class EggLoader;
class PandaNode;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : CharacterMaker
// Description : Converts an EggGroup hierarchy, beginning with a
// group with <Dart> set, to a character node with

View File

@ -42,7 +42,7 @@ class EggNode;
class EggVertex;
class InternalName;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : ComputedVerticesMaker
// Description : An object to collect together all the vertices of a
// character, indicate what the transform space of each

View File

@ -29,7 +29,7 @@
#include "pmap.h"
#include <math.h>
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : ComputedVerticesMakerEntity
// Description : This represents a single vertex value, or color
// value, or normal value, or some such thing, added to
@ -51,7 +51,7 @@ public:
};
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : ComputedVerticesMakerEntityMap
// Description : A map of some kind of entity, above, to an integer
// index number. This collects together identical

View File

@ -26,7 +26,7 @@
class PandaNode;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : DeferredNodeProperty
// Description : This class keeps track of all the state we must make
// note of during the graph traversal, but cannot apply

View File

@ -25,7 +25,7 @@
class EggLoader;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : EggBinner
// Description : A special binner used only within this package to
// pre-process the egg tree for the loader and group

View File

@ -60,7 +60,7 @@ class PolylightNode;
class EggRenderState;
class CharacterMaker;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : EggLoader
// Description : Converts an egg data structure, possibly read from an
// egg file but not necessarily, into a scene graph

View File

@ -36,7 +36,7 @@ class EggPrimitive;
class EggTexture;
class EggMaterial;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : EggRenderState
// Description : This class is used within this package only to record
// the render state that should be assigned to each

View File

@ -24,7 +24,7 @@
#include "typedObject.h"
#include <string>
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : Namable
// Description : A base class for all things which can have a name.
// The name is either empty or nonempty, but it is never
@ -62,7 +62,7 @@ private:
INLINE ostream &operator << (ostream &out, const Namable &n);
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : NamableOrderByName
// Description : An STL function object for sorting an array of
// pointers to Namables into order by name. Returns

View File

@ -32,7 +32,7 @@
#include <typeinfo>
#endif
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : ReferenceCount
// Description : A base class for all things that want to be
// reference-counted. ReferenceCount works in
@ -99,7 +99,7 @@ private:
template<class RefCountType>
INLINE void unref_delete(RefCountType *ptr);
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : RefCountProxy
// Description : A "proxy" to use to make a reference-countable object
// whenever the object cannot inherit from
@ -134,7 +134,7 @@ private:
};
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : RefCountObj
// Description : Another kind of proxy, similar to RefCountProxy.
// This one works by inheriting from the indicated base

View File

@ -37,7 +37,7 @@ class PandaNode;
class RenderState;
class TransformState;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : MultitexReducer
// Description : This object presents an interface for generating new
// texture images that represent the combined images

View File

@ -32,7 +32,7 @@
class Datagram;
class DatagramIterator;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : IoPtaDatagramLinMath
// Description : This class is used to read and write a PTA_something
// (where something is some kind of LinMath object like

View File

@ -28,7 +28,7 @@
#include "coordinateSystem.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : BoundingHexahedron
// Description : This defines a bounding convex hexahedron. It is
// typically used to represent a frustum, but may

View File

@ -23,7 +23,7 @@
#include "geometricBoundingVolume.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : BoundingLine
// Description : This funny bounding volume is an infinite line with
// no thickness and extending to infinity in both

View File

@ -23,7 +23,7 @@
#include "finiteBoundingVolume.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : BoundingSphere
// Description : This defines a bounding sphere, consisting of a
// center and a radius. It is always a sphere, and

View File

@ -29,7 +29,7 @@ class BoundingHexahedron;
class BoundingLine;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : BoundingVolume
// Description : This is an abstract class for any volume in any sense
// which can be said to define the locality of reference

View File

@ -24,7 +24,7 @@
#include "geometricBoundingVolume.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : FiniteBoundingVolume
// Description : A special kind of GeometricBoundingVolume that is
// known to be finite. It is possible to query this

View File

@ -26,7 +26,7 @@
#include "luse.h"
#include "lmatrix.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : GeometricBoundingVolume
// Description : This is another abstract class, for a general class
// of bounding volumes that actually enclose points in

View File

@ -21,7 +21,7 @@
////////////////////////////////////////////////////////////////////
// Includes
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
#include "pandabase.h"
#include "cmath.h"
#include "coordinateSystem.h"

View File

@ -21,7 +21,7 @@
////////////////////////////////////////////////////////////////////
// Includes
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
#include "pandabase.h"
#include "luse.h"

View File

@ -23,7 +23,7 @@
#include "geometricBoundingVolume.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : OmniBoundingVolume
// Description : This is a special kind of GeometricBoundingVolume
// that fills all of space.

View File

@ -21,11 +21,11 @@
#include "baseParticle.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : OrientedParticle
// Description : Describes a particle that has angular
// characteristics (velocity, orientation).
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
class EXPCL_PANDAPHYSICS OrientedParticle : public BaseParticle {
public:
OrientedParticle(int lifespan = 0, bool alive = false);

View File

@ -27,7 +27,7 @@
class PandaNode;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : AccumulatedAttribs
// Description : This class is used by the SceneGraphReducer to
// maintain and accumulate the set of attributes we have

View File

@ -29,7 +29,7 @@ class GeomNode;
class RenderState;
class InternalName;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : GeomTransformer
// Description : An object specifically designed to transform the
// vertices of a Geom without disturbing indexing or

View File

@ -31,7 +31,7 @@ class GeomNode;
class Geom;
class Texture;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : SceneGraphAnalyzer
// Description : A handy class that can scrub over a scene graph and
// collect interesting statistics on it.

View File

@ -32,7 +32,7 @@
class PandaNode;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : SceneGraphReducer
// Description : An interface for simplifying ("flattening") scene
// graphs by eliminating unneeded nodes and collapsing

View File

@ -21,11 +21,11 @@
#include "baseForce.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : LinearForce
// Description : A force that acts on a PhysicsObject by way of an
// Integrator. This is a pure virtual base class.
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
class EXPCL_PANDAPHYSICS LinearForce : public BaseForce {
PUBLISHED:
~LinearForce();

View File

@ -23,7 +23,7 @@
#include "collisionHandlerPusher.h"
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : PhysicsCollisionHandler
// Description : A specialized kind of CollisionHandler that simply
// pushes back on things that attempt to move into solid

View File

@ -27,7 +27,7 @@
class Datagram;
class DatagramIterator;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : IoPtaDatagramFloat
// Description : This class is used to read and write a PTA_float
// from a Datagram, in support of Bam. It's not

View File

@ -27,7 +27,7 @@
class Datagram;
class DatagramIterator;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : IoPtaDatagramInt
// Description : This class is used to read and write a PTA_int from a
// Datagram, in support of Bam. It's not intended to be

View File

@ -27,7 +27,7 @@
class Datagram;
class DatagramIterator;
///////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Class : IoPtaDatagramShort
// Description : This class is used to read and write a PTA_ushort
// from a Datagram, in support of Bam. It's not