MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / ReadBoundingBox

Method ReadBoundingBox

TombEngine/Specific/IO/Streams.cpp:101–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101bool BaseStream::ReadBoundingBox(BoundingBox* value)
102{
103 Vector3 minPos;
104 Vector3 maxPos;
105
106 ReadVector3(&minPos);
107 ReadVector3(&maxPos);
108
109 BoundingBox::CreateFromPoints(*value, minPos, maxPos);
110
111 return true;
112}
113
114bool BaseStream::ReadBoundingSphere(BoundingSphere* sphere)
115{

Callers

nothing calls this directly

Calls 1

ReadVector3Function · 0.85

Tested by

no test coverage detected