MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Parse2DMatrix

Function Parse2DMatrix

code/qcommon/q_shared.cpp:563–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561}
562
563void Parse2DMatrix ( const char **buf_p, int y, int x, float *m) {
564 int i;
565
566 COM_MatchToken( buf_p, "(" );
567
568 for (i = 0 ; i < y ; i++) {
569 Parse1DMatrix (buf_p, x, m + i * x);
570 }
571
572 COM_MatchToken( buf_p, ")" );
573}
574
575void Parse3DMatrix ( const char **buf_p, int z, int y, int x, float *m) {
576 int i;

Callers 1

Parse3DMatrixFunction · 0.70

Calls 2

COM_MatchTokenFunction · 0.70
Parse1DMatrixFunction · 0.70

Tested by

no test coverage detected