mirror of https://github.com/aap/librw.git
and another one...
This commit is contained in:
parent
3398ec6a16
commit
661feeabf4
|
@ -143,7 +143,7 @@ MatFX::getEffects(const Material *m)
|
||||||
}
|
}
|
||||||
|
|
||||||
MatFX*
|
MatFX*
|
||||||
MatFX::get(Material *m)
|
MatFX::get(const Material *m)
|
||||||
{
|
{
|
||||||
return *PLUGINOFFSET(MatFX*, m, matFXGlobals.materialOffset);
|
return *PLUGINOFFSET(MatFX*, m, matFXGlobals.materialOffset);
|
||||||
}
|
}
|
||||||
|
|
|
@ -129,7 +129,7 @@ struct MatFX
|
||||||
|
|
||||||
static void setEffects(Material *m, uint32 flags);
|
static void setEffects(Material *m, uint32 flags);
|
||||||
static uint32 getEffects(const Material *m);
|
static uint32 getEffects(const Material *m);
|
||||||
static MatFX *get(Material *m);
|
static MatFX *get(const Material *m);
|
||||||
int32 getEffectIndex(uint32 type);
|
int32 getEffectIndex(uint32 type);
|
||||||
// Bump
|
// Bump
|
||||||
void setBumpTexture(Texture *t);
|
void setBumpTexture(Texture *t);
|
||||||
|
|
Loading…
Reference in New Issue