일단은 멀티로 접속이 됨..
This commit is contained in:
@@ -170,7 +170,7 @@ void Graphics::RenderIndexedBuffer(BufferHandle vertex_buffer,
|
||||
vkCmdDrawIndexed(frames_[current_frame_].command_buffer, count, 1, 0, 0, 0);
|
||||
SetModelMatrix(glm::mat4(1.f));
|
||||
}
|
||||
void Graphics::RenderModel(Model* model) {
|
||||
void Graphics::RenderModel(std::shared_ptr<Model> model) {
|
||||
if (!model->visible) return;
|
||||
SetTexture(model->material.texture_handle);
|
||||
SetModelMatrix(model->transform);
|
||||
|
||||
Reference in New Issue
Block a user