MCPcopy
hub / github.com/KilledByAPixel/LittleJS / getDebugColor

Function getDebugColor

plugins/box2d.js:2018–2018  ·  view source on GitHub ↗
(color)

Source from the content-addressed store, hash-verified

2016 const box2dColorPointer = (c)=>
2017 box2dColor(box2d.instance.wrapPointer(c, box2d.instance.b2Color));
2018 const getDebugColor = (color)=>box2dColorPointer(color).scale(1,.8);
2019 const getPointsList = (vertices, vertexCount)=>
2020 {
2021 const points = [];

Callers 1

setupDebugDrawFunction · 0.85

Calls 2

box2dColorPointerFunction · 0.85
scaleMethod · 0.45

Tested by

no test coverage detected