MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / HeightField

Method HeightField

src/collision/HeightField.cpp:38–42  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

36
37// Constructor
38HeightField::HeightField(MemoryAllocator& allocator, HalfEdgeStructure& triangleHalfEdgeStructure)
39 : mAllocator(allocator), mHeightFieldData(allocator),
40 mTriangleHalfEdgeStructure(triangleHalfEdgeStructure) {
41
42}
43
44// Initialize the height-field
45bool HeightField::init(int nbGridColumns, int nbGridRows,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected