MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getIntValue

Function getIntValue

Engine/source/console/optimizer.cpp:40–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40static S32 getIntValue(ExprNode* node)
41{
42 if (node->getExprNodeNameEnum() == NameFloatNode)
43 return (S32)static_cast<FloatNode*>(node)->value;
44 return static_cast<IntNode*>(node)->value;
45}
46
47bool FloatBinaryExprNode::optimize()
48{

Callers 1

optimizeMethod · 0.85

Calls 1

getExprNodeNameEnumMethod · 0.45

Tested by

no test coverage detected