C++ (Qt)extern "C"{typedef struct matrix matrix_type;void matrix_rotate_x( matrix_type *m, real a );void matrix_scale( matrix_type *m, real s );} class Matrix{public: void rotate_x( real a ); void scale( real s ); private: matrix_type m_matrix; // а лучше // class priv;// priv *d;}; // --- void Matrix::rotate_x( real a ){ matrix_rotate_x( &m_matrix, a );} void Matrix::scale( real s ){ matrix_scale( &m_matrix, s );}