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

Method vec4f

include/daScript/simulate/aot.h:2288–2296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2286 return blockFunction((cast<argType>::to(args[I]))...);
2287 }
2288 DAS_EVAL_ABI virtual vec4f eval ( Context & context ) override {
2289 DAS_PROFILE_NODE
2290 auto ba = (BlockArguments *) ( context.stack.bottom() + argumentsOffset );
2291 using ResultType = typename remove_const<resType>::type;
2292 ResultType * result = (ResultType *) ba->copyOrMoveResult;
2293 using Indices = make_index_sequence<sizeof...(argType)>;
2294 *result = callBlockFunction(ba->arguments, Indices());
2295 return cast<void *>::from(result);
2296 }
2297 BlockFn blockFunction;
2298 };
2299

Callers

nothing calls this directly

Calls 1

bottomMethod · 0.80

Tested by

no test coverage detected