Change MuJoCo engine source code function-spacing convention from 3 blank lines to 2
PiperOrigin-RevId: 813754244 Change-Id: I6836e41c3b021cb727e922c25c60f629b9814c93
This commit is contained in:
committed by
Copybara-Service
parent
c439628f82
commit
edbdb5195c
@@ -39,7 +39,6 @@ mjArrayList* mju_arrayListCreate(mjData* d, size_t element_size, size_t initial_
|
||||
}
|
||||
|
||||
|
||||
|
||||
// returns total number of elements in mjArrayList
|
||||
size_t mju_arrayListSize(const mjArrayList* array_list) {
|
||||
const mjArrayList* cursor = array_list;
|
||||
@@ -52,7 +51,6 @@ size_t mju_arrayListSize(const mjArrayList* array_list) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
// copies one element into an mjArrayList
|
||||
void mju_arrayListAdd(mjArrayList* array_list, void* element) {
|
||||
mjArrayList* cursor = array_list;
|
||||
@@ -73,7 +71,6 @@ void mju_arrayListAdd(mjArrayList* array_list, void* element) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
// returns pointer to element at index, NULL if out of bounds
|
||||
void* mju_arrayListAt(const mjArrayList* array_list, size_t index) {
|
||||
// if the index is larger than the current capacity, then it is in a later segment
|
||||
|
||||
Reference in New Issue
Block a user