Fix comment typos.
PiperOrigin-RevId: 643762423 Change-Id: I98289ed4053e635b863b029f239b14a232e505e3
This commit is contained in:
committed by
Copybara-Service
parent
86ef1746b0
commit
739512a0e4
@@ -3207,7 +3207,7 @@ mjCTexture::mjCTexture(mjCModel* _model) {
|
|||||||
// point to local
|
// point to local
|
||||||
PointToLocal();
|
PointToLocal();
|
||||||
|
|
||||||
// in case this camera is not compiled
|
// in case this texture is not compiled
|
||||||
CopyFromSpec();
|
CopyFromSpec();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3910,14 +3910,12 @@ mjCMaterial::mjCMaterial(mjCModel* _model, mjCDef* _def) {
|
|||||||
*this = _def->Material();
|
*this = _def->Material();
|
||||||
}
|
}
|
||||||
|
|
||||||
// set model, def
|
|
||||||
model = _model;
|
model = _model;
|
||||||
def = (_def ? _def : (_model ? _model->Defaults(0) : 0));
|
def = (_def ? _def : (_model ? _model->Defaults(0) : 0));
|
||||||
|
|
||||||
// point to local
|
|
||||||
PointToLocal();
|
PointToLocal();
|
||||||
|
|
||||||
// in case this camera is not compiled
|
// in case this material is not compiled
|
||||||
CopyFromSpec();
|
CopyFromSpec();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1067,7 +1067,7 @@ class mjCTexture : public mjCTexture_, private mjsTexture {
|
|||||||
|
|
||||||
class mjCMaterial_ : public mjCBase {
|
class mjCMaterial_ : public mjCBase {
|
||||||
protected:
|
protected:
|
||||||
int texid; // id of material
|
int texid; // id of material's texture
|
||||||
std::string texture_;
|
std::string texture_;
|
||||||
std::string spec_texture_;
|
std::string spec_texture_;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user