MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SetTranslation

Method SetTranslation

Source/Objects/object.cpp:439–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439void Object::SetTranslation(const vec3 &trans) {
440 if (translation_ != trans) {
441 translation_ = trans;
442 UpdateTransform();
443 Moved(Object::kTranslate);
444 }
445}
446
447void Object::SetScale(const vec3 &trans) {
448 if (scale_ != trans) {

Callers 8

CreateCharacterMethod · 0.45
ExecuteMethod · 0.45
PreDrawFrameMethod · 0.45
PreDrawFrameMethod · 0.45
UpdateMethod · 0.45
CUpdateShadowImplFunction · 0.45
UpdateTransformMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected