copy


Description:

public Primitive copy ()

Makes a copy of an existing Primitive.

Note that the primitive is a shallow copy which means it will use the same attributes and attribute buffers as the original primitive.

Parameters:

this

A primitive copy

Returns:

the new primitive