23 _rotation_center.set(0.0, 0.0, 0.0);
24 _hpr.set(0.0, 0.0, 0.0);
25 _rotation = LMatrix4::ident_mat();
30 _fly_through = LMatrix4::ident_mat();
31 _eyepoint.set(0.0, 0.0, 0.0);
32 _fly_through_yaw = 0.0;
33 _fly_through_pitch = 0.0;
34 _eyepoint_direction.set(0.0, 1.0, 0.0);
35 _no_fly_through =
true;
57 for (r = 0; r < 4; r++) {
58 for (
int c = 0; c < 4; c++) {
66 for (r = 0; r < 4; r++) {
67 for (
int c = 0; c < 4; c++) {
104 for (r = 0; r < 4; r++) {
105 for (
int c = 0; c < 4; c++) {
113 for (r = 0; r < 4; r++) {
114 for (
int c = 0; c < 4; c++) {
This class writes a sequence of FltRecords to an ostream, handling opcode and size counts properly.
This class turns an istream into a sequence of FltRecords by reading a sequence of Datagrams and extr...
PN_float64 get_be_float64()
Extracts a 64-bit big-endian floating-point number.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
int32_t get_be_int32()
Extracts a signed 32-bit big-endian integer.
PN_float32 get_be_float32()
Extracts a 32-bit big-endian single-precision floating-point number.
DatagramIterator & get_iterator()
Returns an iterator suitable for extracting data from the current record.
void pad_bytes(size_t size)
Adds the indicated number of zero bytes to the datagram.
void add_be_float64(PN_float64 value)
Adds a 64-bit big-endian floating-point number to the datagram.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void add_be_float32(PN_float32 value)
Adds a 32-bit single-precision big-endian floating-point number to the datagram.
void skip_bytes(size_t size)
Skips over the indicated number of bytes in the datagram.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A class to retrieve the individual data elements previously stored in a Datagram.
void add_be_int32(int32_t value)
Adds a signed 32-bit big-endian integer to the datagram.
Datagram & update_datagram()
Returns a modifiable reference to the datagram associated with the current record.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...