Separate NAZARA_API into multiple defines (one per module)
To fix inter-module dependency Former-commit-id: 64704f020e0af22e529d38527323ba977187d4d0
This commit is contained in:
@@ -408,7 +408,7 @@ NzBoxf NzSphereGeom::ComputeAABB(const NzMatrix4f& offsetMatrix, const NzVector3
|
||||
|
||||
float NzSphereGeom::ComputeVolume() const
|
||||
{
|
||||
return M_PI * m_radius * m_radius * m_radius / 3.f;
|
||||
return float(M_PI) * m_radius * m_radius * m_radius / 3.f;
|
||||
}
|
||||
|
||||
float NzSphereGeom::GetRadius() const
|
||||
|
||||
@@ -303,7 +303,7 @@ namespace
|
||||
m_stream.descriptor.pointer = &stream;
|
||||
m_stream.read = FT_StreamRead;
|
||||
m_stream.pos = 0;
|
||||
m_stream.size = unsigned long(stream.GetSize());
|
||||
m_stream.size = static_cast<unsigned long>(stream.GetSize());
|
||||
|
||||
m_args.driver = 0;
|
||||
m_args.flags = FT_OPEN_STREAM;
|
||||
|
||||
Reference in New Issue
Block a user