Add end-of-line spaces checker

This commit is contained in:
SirLynix
2024-01-26 10:43:00 +01:00
parent 63c61c0827
commit 6757de1be8
90 changed files with 170 additions and 126 deletions

View File

@@ -127,7 +127,7 @@ namespace Nz
{
m_character->Activate(false);
}
JoltCharacter& JoltCharacter::operator=(JoltCharacter&& character) noexcept
{
Destroy();

View File

@@ -186,7 +186,7 @@ namespace Nz
for (unsigned int slice = 0; slice < sliceCount; ++slice)
{
Quaternionf rot(RadianAnglef(2.f * Pi<float> * slice / sliceCount), Nz::Vector3f::Down());
Vector3f top(0.f, halfHeight, 0.f);
for (unsigned int i = 0; i < cornerStepCount; ++i)
{
@@ -354,7 +354,7 @@ namespace Nz
}
/******************************** JoltMeshCollider3D *********************************/
JoltMeshCollider3D::JoltMeshCollider3D(SparsePtr<const Vector3f> vertices, std::size_t vertexCount, SparsePtr<const UInt16> indices, std::size_t indexCount)
{
std::unique_ptr<JPH::MeshShapeSettings> settings = std::make_unique<JPH::MeshShapeSettings>();

View File

@@ -210,7 +210,7 @@ namespace Nz
const FunctionRef<std::optional<float>(const JoltPhysWorld3D::PointCollisionInfo& hitInfo)>& m_callback;
bool m_didHit;
};
class ShapeCallbackHitResult : public JPH::CollideShapeCollector
{
public: