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

Method set_axis

src/device/input_device.cpp:161–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void InputDevice::set_axis(u8 id, f32 x, f32 y, f32 z)
162{
163 CE_ASSERT(id < _num_axes, "Index out of bounds");
164 _axis[id].x = x;
165 _axis[id].y = y;
166 _axis[id].z = z;
167}
168
169void InputDevice::update()
170{

Callers 2

readMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected