MCPcopy Create free account
hub / github.com/crownengine/crown / axis

Method axis

src/device/input_device.cpp:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80Vector3 InputDevice::axis(u8 id) const
81{
82 if (id >= _num_axes)
83 return VECTOR3_ZERO;
84
85 return _axis[id];
86}
87
88const char *InputDevice::button_name(u8 id) const
89{

Callers 2

readMethod · 0.45
input_device_axisFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected