Public Member Functions | |
| int | read (FILE *fp) |
| void | write (FILE *fp=stdout) |
Public Attributes | |
| int | index |
| Point3D | position |
| Point3D | normal |
| Point2D | texCoordinate |
|
|
This method reads in the vertex information from a .ray file. |
|
|
This method writes out the vertex information to a .ray file. If no file is specified, the vertex is written out to stdout. |
|
|
The index of the vertex within the scene |
|
|
The normal at the vertex |
|
|
The position of the vertex |
|
|
The texture coordinates at the vertex |
1.4.1