Update lib/haxebullet/hl/bullet.cpp

This commit is contained in:
LeenkxTeam 2025-04-11 16:28:33 +00:00
parent 82a53a868a
commit 27bd360317

View File

@ -579,6 +579,18 @@ HL_PRIM float HL_NAME(btVector3_length0)(_ref(btVector3)* _this) {
} }
DEFINE_PRIM(_F32, btVector3_length0, _IDL); DEFINE_PRIM(_F32, btVector3_length0, _IDL);
HL_PRIM float* HL_NAME(btFloatArray_set_raw)( _ref(btFloatArray)* _this, float* value ) {
_unref(_this)->raw = (value);
return value;
}
DEFINE_PRIM(_BYTES,btFloatArray_set_raw,_IDL _BYTES);
HL_PRIM int* HL_NAME(btIntArray_set_raw)( _ref(btIntArray)* _this, int* value ) {
_unref(_this)->raw = (value);
return value;
}
DEFINE_PRIM(_BYTES,btIntArray_get_raw,_IDL);
HL_PRIM float HL_NAME(btVector3_x0)(_ref(btVector3)* _this) { HL_PRIM float HL_NAME(btVector3_x0)(_ref(btVector3)* _this) {
return _unref(_this)->x(); return _unref(_this)->x();
} }