|
|
@@ -795,6 +795,20 @@ set_data2i(int a, int b) {
|
|
|
set_data2i(LVecBase2i(a, b));
|
|
|
}
|
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+// Function: GeomVertexWriter::set_data2i
|
|
|
+// Access: Published
|
|
|
+// Description: Sets the write row to a particular 2-component
|
|
|
+// value, and advances the write row.
|
|
|
+//
|
|
|
+// It is an error for the write row to advance past
|
|
|
+// the end of data.
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+INLINE void GeomVertexWriter::
|
|
|
+set_data2i(const int data[2]) {
|
|
|
+ set_data2i(LVecBase2i(data[0], data[1]));
|
|
|
+}
|
|
|
+
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: GeomVertexWriter::set_data2i
|
|
|
// Access: Published
|
|
|
@@ -824,6 +838,20 @@ set_data3i(int a, int b, int c) {
|
|
|
set_data3i(LVecBase3i(a, b, c));
|
|
|
}
|
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+// Function: GeomVertexWriter::set_data3i
|
|
|
+// Access: Published
|
|
|
+// Description: Sets the write row to a particular 3-component
|
|
|
+// value, and advances the write row.
|
|
|
+//
|
|
|
+// It is an error for the write row to advance past
|
|
|
+// the end of data.
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+INLINE void GeomVertexWriter::
|
|
|
+set_data3i(const int data[3]) {
|
|
|
+ set_data3i(LVecBase3i(data[0], data[1], data[2]));
|
|
|
+}
|
|
|
+
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: GeomVertexWriter::set_data3i
|
|
|
// Access: Published
|
|
|
@@ -853,6 +881,20 @@ set_data4i(int a, int b, int c, int d) {
|
|
|
set_data4i(LVecBase4i(a, b, c, d));
|
|
|
}
|
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+// Function: GeomVertexWriter::set_data4i
|
|
|
+// Access: Published
|
|
|
+// Description: Sets the write row to a particular 4-component
|
|
|
+// value, and advances the write row.
|
|
|
+//
|
|
|
+// It is an error for the write row to advance past
|
|
|
+// the end of data.
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+INLINE void GeomVertexWriter::
|
|
|
+set_data4i(const int data[4]) {
|
|
|
+ set_data4i(LVecBase4i(data[0], data[1], data[2], data[3]));
|
|
|
+}
|
|
|
+
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: GeomVertexWriter::set_data4i
|
|
|
// Access: Published
|