MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / testPoint3Array

Function testPoint3Array

modules/dasUnitTest/test_handles.cpp:341–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341void testPoint3Array(const TBlock<void,const Point3Array> & blk, Context * context, LineInfoArg * at) {
342 Point3Array arr;
343 for (int32_t x = 0; x != 10; ++x) {
344 Point3 p;
345 p.x = 1.0f;
346 p.y = 2.0f;
347 p.z = 3.0f;
348 arr.push_back(p);
349 }
350 vec4f args[1];
351 args[0] = cast<Point3Array *>::from(&arr);
352 context->invoke(blk, args, nullptr, at);
353}
354
355
356float2 test_abi_mad2 ( float2 a, float2 b, float2 c ) {

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.45
invokeMethod · 0.45

Tested by

no test coverage detected