Add end-of-line spaces checker
This commit is contained in:
@@ -127,7 +127,7 @@ namespace Nz
|
||||
{
|
||||
m_character->Activate(false);
|
||||
}
|
||||
|
||||
|
||||
JoltCharacter& JoltCharacter::operator=(JoltCharacter&& character) noexcept
|
||||
{
|
||||
Destroy();
|
||||
|
||||
@@ -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>();
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user