Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
deps-bullet-raub
Advanced tools
This is a part of Node3D project.
npm i deps-bullet-raub
This dependency package is distributing Bullet Physics binaries through NPM for Node.js addons.
If you don't know Bullet Physics, then probably you could learn it better before rushing into the Node.js addons with it. Anyway the official manual is a good place to start. Also there are a lot of examples.
And, the most important, take a look at the existing bullet-raub addon, that exports a very simple API for Node.js.
As in glfw-raub Node.js addon.
{
'variables': {
'bin' : '<!(node -p "require(\'addon-tools-raub\').bin")',
'bullet_include' : '<!(node -p "require(\'deps-bullet-raub\').include")',
'bullet_bin' : '<!(node -p "require(\'deps-bullet-raub\').bin")',
},
'targets': [
{
'target_name' : 'bullet',
'sources' : [
'cpp/bindings.cpp',
'cpp/body.cpp',
'cpp/joint.cpp',
'cpp/scene.cpp',
],
'include_dirs' : [
'<!@(node -p "require(\'addon-tools-raub\').include")',
'<(bullet_include)',
],
'library_dirs' : [ '<(bullet_bin)' ],
'libraries' : [ '-lbullet' ],
'cflags!': ['-fno-exceptions'],
'cflags_cc!': ['-fno-exceptions'],
'conditions': [
[
'OS=="linux"',
{
'libraries': [
"-Wl,-rpath,'$$ORIGIN'",
"-Wl,-rpath,'$$ORIGIN/../node_modules/deps-bullet-raub/<(bin)'",
"-Wl,-rpath,'$$ORIGIN/../../deps-bullet-raub/<(bin)'",
],
'defines': ['__linux__'],
}
],
[
'OS=="mac"',
{
'libraries': [
'-Wl,-rpath,@loader_path',
'-Wl,-rpath,@loader_path/../node_modules/deps-bullet-raub/<(bin)',
'-Wl,-rpath,@loader_path/../../deps-bullet-raub/<(bin)',
],
'defines': ['__APPLE__'],
}
],
[
'OS=="win"',
{
'defines' : [
'WIN32_LEAN_AND_MEAN',
'VC_EXTRALEAN',
'_WIN32',
],
'msvs_settings' : {
'VCCLCompilerTool' : {
'AdditionalOptions' : [
'/GL', '/GF', '/EHsc', '/GS', '/Gy', '/GR-',
]
},
'VCLinkerTool' : {
'AdditionalOptions' : ['/RELEASE','/OPT:REF','/OPT:ICF','/LTCG'],
},
},
},
],
],
},
]
}
#include <...>
This software uses the Bullet physics open source library. Bullet is legally used under the ZLIB license. It is explicitly stated that Bullet can be used commercially in closed-source projects. Bullet licensing information (a COPY) is given in a separate file, which also can be found on Bullet's official repository.
Binaries for all current platforms are built through MAKE system with
Travis CI matrix.
See Travis config for details.
Brute-force extracted Bullet sources are
inside cpp
folder.
As the layout of Bullet's source tree and the way it is compiled were changed, the whole
new codebase is published here to both comply with ZLIB requirements and provide means for
further expansion of this set of precompiled binaries to different platforms.
Only Bullet-2 part is compiled, Bullet-3 and CL are excluded, for now. No changes to the original content of any Bullet source file were made. No claims are made that any physics algorithms are changed/invented within this repository.
FAQs
Binaries and headers for Bullet-dependent compilation
The npm package deps-bullet-raub receives a total of 22 weekly downloads. As such, deps-bullet-raub popularity was classified as not popular.
We found that deps-bullet-raub demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.