MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / to_int_array

Function to_int_array

servers/rendering_server.cpp:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82static PackedInt64Array to_int_array(const Vector<ObjectID> &ids) {
83 PackedInt64Array a;
84 a.resize(ids.size());
85 for (int i = 0; i < ids.size(); ++i) {
86 a.write[i] = ids[i];
87 }
88 return a;
89}
90
91PackedInt64Array RenderingServer::_instances_cull_aabb_bind(const AABB &p_aabb, RID p_scenario) const {
92 Vector<ObjectID> ids = instances_cull_aabb(p_aabb, p_scenario);

Callers 3

Calls 2

sizeMethod · 0.65
resizeMethod · 0.45

Tested by

no test coverage detected