This may be a newbie question, but why is there no double type in the 
definition of array (pasted below)?  How does one create geometry specified 
with doubles if Geometry::setVertexArray can not accept doubles?

 

class OSG_EXPORT Array : public Object

{

 

    public:

    

        enum Type

        {

            ArrayType = 0,

            ByteArrayType     = 1,

            ShortArrayType    = 2,

            IntArrayType      = 3,

            UByteArrayType    = 4,

            UShortArrayType   = 5,

            UIntArrayType     = 6,

            Vec4ubArrayType   = 7,

            FloatArrayType    = 8,

            Vec2ArrayType     = 9,

            Vec3ArrayType     = 10,

            Vec4ArrayType     = 11,

            Vec2sArrayType    = 12,

            Vec3sArrayType    = 13,

            Vec4sArrayType    = 14,

            Vec2bArrayType    = 15,

            Vec3bArrayType    = 16,

            Vec4bArrayType    = 17

            

        };

 

 

Thank you very much,

Virginia

 

 

*************************************
The information transmitted herewith is sensitive information intended only for 
use by the individual or entity to which it is addressed. If the reader of this 
message is not the intended recipient, you are hereby notified that any review, 
retransmission, dissemination, distribution, copying or other use of, or taking 
of any action in reliance upon, this information is strictly prohibited. If you 
have received this communication in error, please contact the sender and delete 
the material from your computer.
**************************************

 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to