MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / update_times

Method update_times

framework/scene_graph/scripts/animation.cpp:168–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void Animation::update_times(float new_start_time, float new_end_time)
169{
170 if (new_start_time < start_time)
171 {
172 start_time = new_start_time;
173 }
174 if (new_end_time > end_time)
175 {
176 end_time = new_end_time;
177 }
178}
179
180} // namespace sg
181} // namespace vkb

Callers 1

load_sceneMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected