| 199 | // SimNode_Debug |
| 200 | |
| 201 | void das_debug ( Context * context, TypeInfo * typeInfo, const char * FILE, int LINE, vec4f res, const char * message ) { |
| 202 | TextWriter ssw; |
| 203 | if ( message ) ssw << message << " "; |
| 204 | ssw << debug_type(typeInfo) << " = " << debug_value(res, typeInfo, PrintFlags::debugger) |
| 205 | << " at " << FILE << ":" << LINE << "\n"; |
| 206 | context->to_out(nullptr, ssw.str().c_str()); |
| 207 | } |
| 208 | |
| 209 | vec4f SimNode_Debug::eval ( Context & context ) { |
| 210 | DAS_PROFILE_NODE |
nothing calls this directly
no test coverage detected