Coherence update
Audio: GetListenerDirection was using ALfloat and GetListenerRotation not. ByteArray: Two return *this, hazh is perturbing, is it intended ? String: Same ? Camera: Adds of security (don't think it's usefull) Parser: size() = 0 -> empty() Utility: update 13 to 14 was forgotten VertexDeclaration: same Former-commit-id: f6db5cd15e5a4dc5ac2af12366b18d1f6922b0e0
This commit is contained in:
@@ -169,8 +169,6 @@ NzByteArray& NzByteArray::Insert(int pos, const void* buffer, unsigned int size)
|
||||
}
|
||||
|
||||
return *this;
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
NzByteArray& NzByteArray::Insert(int pos, const NzByteArray& array)
|
||||
@@ -464,9 +462,9 @@ void NzByteArray::EnsureOwnership()
|
||||
}
|
||||
}
|
||||
|
||||
bool NzByteArray::FillHash(NzAbstractHash* hazh) const
|
||||
bool NzByteArray::FillHash(NzAbstractHash* hash) const
|
||||
{
|
||||
hazh->Append(m_sharedArray->buffer, m_sharedArray->size);
|
||||
hash->Append(m_sharedArray->buffer, m_sharedArray->size);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -4351,9 +4351,9 @@ void NzString::EnsureOwnership(bool discardContent)
|
||||
}
|
||||
}
|
||||
|
||||
bool NzString::FillHash(NzAbstractHash* hazh) const
|
||||
bool NzString::FillHash(NzAbstractHash* hash) const
|
||||
{
|
||||
hazh->Append(reinterpret_cast<const nzUInt8*>(m_sharedString->string), m_sharedString->size);
|
||||
hash->Append(reinterpret_cast<const nzUInt8*>(m_sharedString->string), m_sharedString->size);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user