27 _pos.set(0.0f, 0.0f, 0.0f);
35 const LVecBase3 &hpr = trans->
get_hpr();
36 nassertv(IS_NEARLY_ZERO(hpr[1]) && IS_NEARLY_ZERO(hpr[2]));
47 output(std::ostream &out)
const {
48 out <<
"STTransform(" << _pos <<
", " << _rotate <<
", " << _scale <<
")";
57 _pos.write_datagram(dg);
68 _pos.read_datagram(scan);
PN_stdfloat get_stdfloat()
Extracts either a 32-bit or a 64-bit floating-point number, according to Datagram::set_stdfloat_doubl...
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
void add_stdfloat(PN_stdfloat value)
Adds either a 32-bit or a 64-bit floating-point number, according to set_stdfloat_double().
A class to retrieve the individual data elements previously stored in a Datagram.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...