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

Method ReadBoundingSphere

TombEngine/Specific/IO/Streams.cpp:114–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114bool BaseStream::ReadBoundingSphere(BoundingSphere* sphere)
115{
116 Vector3 center;
117 float radius;
118
119 ReadVector3(&center);
120 ReadFloat(&radius);
121
122 sphere->Center = center;
123 sphere->Radius = radius;
124
125 return true;
126}
127
128bool BaseStream::WriteBytes(byte* value, int length)
129{

Callers

nothing calls this directly

Calls 2

ReadVector3Function · 0.85
ReadFloatFunction · 0.85

Tested by

no test coverage detected