mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
update comment
This commit is contained in:
parent
6274a02610
commit
89af39b692
@ -399,8 +399,10 @@ read_handle(DatagramIterator &scan) {
|
||||
// Description: The interface for reading a pointer to another object
|
||||
// from a Bam file. Objects reading themselves from a
|
||||
// Bam file should call this when they expect to read a
|
||||
// pointer, passing in the datagram iterator and a
|
||||
// pointer to their own object, i.e. 'this'.
|
||||
// pointer to some other object. This function reads
|
||||
// whatever is stored in the bam file to represent the
|
||||
// pointer, and advances the datagram iterator
|
||||
// accordingly.
|
||||
//
|
||||
// Rather than returning a pointer immediately, this
|
||||
// function reads the internal pointer information from
|
||||
|
@ -254,11 +254,11 @@ write_cdata(Datagram &packet, const PipelineCyclerBase &cycler) {
|
||||
//
|
||||
// The writing object should call this prior to writing
|
||||
// out a PointerToArray. It will return true if the
|
||||
// same pointer has been previously, in which case the
|
||||
// writing object need do nothing further; or it will
|
||||
// return false if this particular pointer has not yet
|
||||
// been written, in which case the writing object must
|
||||
// then write out the contents of the array.
|
||||
// same pointer has been written previously, in which
|
||||
// case the writing object need do nothing further; or
|
||||
// it will return false if this particular pointer has
|
||||
// not yet been written, in which case the writing
|
||||
// object must then write out the contents of the array.
|
||||
//
|
||||
// Also see the WRITE_PTA() macro, which consolidates
|
||||
// the work that must be done to write a PTA.
|
||||
|
Loading…
x
Reference in New Issue
Block a user