mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-24 05:10:42 -04:00
Revert "Allow IModel Render to be overridden by plugins."
This reverts commit 75411303523458344bf2bfdb66b72f60d4725d07.
This commit is contained in:
parent
7541130352
commit
e665d60f5a
@ -109,7 +109,7 @@ namespace ClassicalSharp.Entities {
|
||||
return game.World.SafeGetBlock(Vector3I.Floor(coords));
|
||||
}
|
||||
|
||||
public Matrix4 TransformMatrix(float scale, Vector3 pos) {
|
||||
internal Matrix4 TransformMatrix(float scale, Vector3 pos) {
|
||||
return
|
||||
Matrix4.RotateZ(-RotZ * Utils.Deg2Rad) *
|
||||
Matrix4.RotateX(-RotX * Utils.Deg2Rad) *
|
||||
|
@ -99,7 +99,7 @@ namespace ClassicalSharp.Model {
|
||||
|
||||
/// <summary> Sets up the state for, then renders an entity model,
|
||||
/// based on the given entity's position and orientation. </summary>
|
||||
public virtual void Render(Entity p) {
|
||||
public void Render(Entity p) {
|
||||
index = 0;
|
||||
pos = p.Position;
|
||||
if (Bobbing) pos.Y += p.anim.bobbingModel;
|
||||
|
Loading…
x
Reference in New Issue
Block a user