MCPcopy Create free account
hub / github.com/demoth/jake2 / copy

Method copy

client/src/main/java/jake2/client/render/model_t.java:184–199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182
183 // TODO replace with set(model_t from)
184 public model_t copy() {
185 model_t theClone = null;
186 try
187 {
188 theClone = (model_t)super.clone();
189 theClone.mins = Lib.clone(this.mins);
190 theClone.maxs = Lib.clone(this.maxs);
191 theClone.clipmins = Lib.clone(this.clipmins);
192 theClone.clipmaxs = Lib.clone(this.clipmaxs);
193
194 }
195 catch (CloneNotSupportedException e)
196 {
197 }
198 return theClone;
199 }
200}

Callers 1

Mod_LoadBrushModelMethod · 0.95

Calls 2

cloneMethod · 0.95
cloneMethod · 0.45

Tested by

no test coverage detected