mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
Delete clang-format files and comments (#14079)
This commit is contained in:
parent
64b59184d1
commit
da832a295e
24 changed files with 0 additions and 702 deletions
|
@ -50,7 +50,6 @@ void ActiveObjectMgr::step(
|
|||
}
|
||||
}
|
||||
|
||||
// clang-format off
|
||||
bool ActiveObjectMgr::registerObject(std::unique_ptr<ClientActiveObject> obj)
|
||||
{
|
||||
assert(obj); // Pre-condition
|
||||
|
@ -93,7 +92,6 @@ void ActiveObjectMgr::removeObject(u16 id)
|
|||
obj->removeFromScene(true);
|
||||
}
|
||||
|
||||
// clang-format on
|
||||
void ActiveObjectMgr::getActiveObjects(const v3f &origin, f32 max_d,
|
||||
std::vector<DistanceSortedActiveObject> &dest)
|
||||
{
|
||||
|
|
|
@ -47,7 +47,6 @@ struct MeshCollector
|
|||
// offset: offset added to vertices
|
||||
MeshCollector(const v3f center_pos, v3f offset = v3f()) : m_center_pos(center_pos), offset(offset) {}
|
||||
|
||||
// clang-format off
|
||||
void append(const TileSpec &material,
|
||||
const video::S3DVertex *vertices, u32 numVertices,
|
||||
const u16 *indices, u32 numIndices);
|
||||
|
@ -55,10 +54,8 @@ struct MeshCollector
|
|||
const video::S3DVertex *vertices, u32 numVertices,
|
||||
const u16 *indices, u32 numIndices,
|
||||
v3f pos, video::SColor c, u8 light_source);
|
||||
// clang-format on
|
||||
|
||||
private:
|
||||
// clang-format off
|
||||
void append(const TileLayer &material,
|
||||
const video::S3DVertex *vertices, u32 numVertices,
|
||||
const u16 *indices, u32 numIndices,
|
||||
|
@ -68,7 +65,6 @@ private:
|
|||
const u16 *indices, u32 numIndices,
|
||||
v3f pos, video::SColor c, u8 light_source,
|
||||
u8 layernum, bool use_scale = false);
|
||||
// clang-format on
|
||||
|
||||
PreMeshBuffer &findBuffer(const TileLayer &layer, u8 layernum, u32 numVertices);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue