mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Fix function
This commit is contained in:
parent
e2863a4c07
commit
c7ca8869b3
@ -273,7 +273,7 @@ class MeshImpl : public Mesh {
|
||||
|
||||
// vtable+0x10
|
||||
Result GetTexture(Texture*&) override;
|
||||
Result SetTextureMappingMode(ProjectionType) override;
|
||||
Result SetTextureMappingMode(TextureMappingMode) override;
|
||||
Result SetShadingModel(ShadingModel) override;
|
||||
Mesh* DeepClone(MeshBuilder*) override;
|
||||
|
||||
|
||||
@ -38,9 +38,9 @@ Result MeshImpl::SetTexture(const Texture* pTexture)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100a3f80
|
||||
Result MeshImpl::SetTextureMappingMode(ProjectionType projType)
|
||||
Result MeshImpl::SetTextureMappingMode(TextureMappingMode mode)
|
||||
{
|
||||
if (projType == Perspective) {
|
||||
if (mode == PerspectiveCorrect) {
|
||||
return ResultVal(m_data->groupMesh->SetGroupMapping(m_data->groupIndex, D3DRMMAP_PERSPCORRECT));
|
||||
}
|
||||
else {
|
||||
|
||||
@ -276,7 +276,7 @@ class Mesh : public Object {
|
||||
virtual Result SetTexture(const Texture*) = 0;
|
||||
virtual Result GetTexture(Texture*&) = 0;
|
||||
|
||||
virtual Result SetTextureMappingMode(ProjectionType) = 0;
|
||||
virtual Result SetTextureMappingMode(TextureMappingMode) = 0;
|
||||
virtual Result SetShadingModel(ShadingModel) = 0;
|
||||
|
||||
// Clone data in underlying group
|
||||
|
||||
Loading…
Reference in New Issue
Block a user