mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-03 13:14:29 +01:00
vrclient: Clean up struct conversion
This commit is contained in:
parent
3fecadaf4e
commit
3584832fa4
11 changed files with 43 additions and 62 deletions
|
|
@ -74,7 +74,7 @@ void struct_RenderModel_t_090_lin_to_win(void *l, void *w)
|
|||
win->unVertexCount = lin->unVertexCount;
|
||||
win->rIndexData = lin->rIndexData;
|
||||
win->unTriangleCount = lin->unTriangleCount;
|
||||
lin_to_win_struct_RenderModel_TextureMap_t_090(&lin->diffuseTexture, &win->diffuseTexture);
|
||||
struct_RenderModel_TextureMap_t_090_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture);
|
||||
}
|
||||
|
||||
void struct_RenderModel_t_090_win_to_lin(void *w, void *l)
|
||||
|
|
@ -86,7 +86,7 @@ void struct_RenderModel_t_090_win_to_lin(void *w, void *l)
|
|||
lin->unVertexCount = win->unVertexCount;
|
||||
lin->rIndexData = win->rIndexData;
|
||||
lin->unTriangleCount = win->unTriangleCount;
|
||||
win_to_lin_struct_vr::RenderModel_TextureMap_t_090(&win->diffuseTexture, &lin->diffuseTexture);
|
||||
struct_RenderModel_TextureMap_t_090_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture);
|
||||
}
|
||||
|
||||
struct winRenderModel_t_090 *struct_RenderModel_t_090_wrap(void *l)
|
||||
|
|
@ -98,7 +98,7 @@ struct winRenderModel_t_090 *struct_RenderModel_t_090_wrap(void *l)
|
|||
win->unVertexCount = lin->unVertexCount;
|
||||
win->rIndexData = lin->rIndexData;
|
||||
win->unTriangleCount = lin->unTriangleCount;
|
||||
win->diffuseTexture = lin->diffuseTexture;
|
||||
struct_RenderModel_TextureMap_t_090_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture);
|
||||
win->linux_side = lin;
|
||||
return win;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue