DispCmdTriangle Struct Reference
draw a triangle, given the three points (computes the normals from the cross product) and all normals are the same -or- draw the triangle, given the three points and the three normals.
More...
#include <DispCmds.h>
List of all members.
Public Methods
void
putdata (const float *, const float *, const float *, const float *, const float *, const float *,
VMDDisplayList *)
void
set_array (const float *, const float *, const float *, const float *, const float *, const float *,
VMDDisplayList *)
Public Attributes
Detailed Description
draw a triangle, given the three points (computes the normals from the cross product) and all normals are the same -or- draw the triangle, given the three points and the three normals.
Definition at line 267 of file DispCmds.h.
Member Function Documentation
void DispCmdTriangle::putdata
(
const float *
,
const float *
,
const float *
,
const float *
,
const float *
,
const float *
,
)
void DispCmdTriangle::putdata
(
const float *
,
const float *
,
const float *
,
)
void DispCmdTriangle::set_array
(
const float *
,
const float *
,
const float *
,
const float *
,
const float *
,
const float *
,
)
Member Data Documentation
float DispCmdTriangle::norm1[3]
float DispCmdTriangle::norm2[3]
float DispCmdTriangle::norm3[3]
float DispCmdTriangle::pos1[3]
float DispCmdTriangle::pos2[3]
float DispCmdTriangle::pos3[3]
The documentation for this struct was generated from the following files:
Generated on Wed Nov 19 02:48:41 2025 for VMD (current) by
doxygen1.2.14 written by Dimitri van Heesch,
© 1997-2002