service的构造函数。我拥有的测试代码是两个components.In,它们的构造函数被注入testService。在来自testService的构造函数中,我只有控制台日志语句。AppRoutingModule, providers: [],})所以,我的应用程序组件被初始化了当我单击on - go to home -然
如果删除uniform变量和以下行:uniformModel = glGetUniformLocation(shader,"model"); //defined in the main draw loop after glfwPollEvents():glm::mat4 modelMatrix;
modelMatrix = glm::translate(modelMat