/
redgpu
/
bullet
ОбзорДокументацияВойти
/
redgpu
/
bullet
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
bullet/
test/Bullet2/
..
Source

Code-style consistency improvement: Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files. make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type. This commit contains no other changes aside from adding and applying clang-format-all.sh

8 лет назад
vectormath

Code-style consistency improvement: Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files. make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type. This commit contains no other changes aside from adding and applying clang-format-all.sh

8 лет назад
Info.plist

add the 'extras' and Bullet 2 tests, to make it easier to create a new intermediate release

12 лет назад
README.txt

add the 'extras' and Bullet 2 tests, to make it easier to create a new intermediate release

12 лет назад
premake4.lua

fix shadowmap crash on some Intel GPUs, see https://github.com/bulletphysics/bullet3/issues/4 remove targetdir from all libraries in premake, so it is much easier to create a separate folder for all binary+lib transmit the serialized btMultiBody data back from server to client, after the server loads a URDF file. This includes base+link+joint names tweak the serialization routines, so it is easier to skip pointers and to serialize directly to a shared memory buffer also tweak the serialization code to allow to process data without 'DNA' schema data (assuming file-DNA = memory DNA)

11 лет назад
README.txt
1) Add a .cpp and .h file for your test function. The function should conform to:
 
#ifdef __cplusplus
extern "C" {
#endif
 
#include "Utils.h"
#include "main.h"
#include "vector.h"
 
// Your test function
int MyTestFunc(void);
 
#ifdef __cplusplus
}
#endif
 
The rest of the program doesn't care or know what you do in MyTestFunc, except that MyTestFunc should return non-zero in case of failure in MyTestFunc. There are some handy functions in Utils.h that you might want to use. Please use vlog instead of printf to print stuff, and random_number32/64() in place of rand(), so I can multithread later if it comes to that. There are some read-only globals that you may wish to respond to, declared in Utils.h:
 
gReportAverageTimes if you do timing, report times as averages instead of best times if non-zero
gExitOnError if non-zero, return non-zero immediately if you encounter an error
gAppName (const char*) the name of the application
 
As a convenience, vector.h has some cross platform vector types declared and will correctly include various vector headers according to compiler flag.
 
 
2) Add an entry to gTestList in TestList.cpp for your test function, so the rest of the app knows to call it