trianglef(BMessage *)
Takes a BMessage with triangle data and creates a trianglef with the passed data.
void draw()
rests unimplemented.
status_t Archive(BMessage *, bool)
Archived information:
NAME | TYPE | VALUE |
GType | B_STRING_TYPE | "TRIANGLE" |
Coords | B_RAW_TYPE | {dump of coordinates} |
class | B_STRING_TYPE | trianglef |
static BArchivable *Instantiate(BMessage *)
Takes a BMessage and returns the BArchivable-cast pointer to the new trianglef. The calling procedure
now owns the trianglef.
vectorf vertices[3]
The array of vectors comprising the triangle.