Revert "Allow IModel Render to be overridden by plugins."

This reverts commit 75411303523458344bf2bfdb66b72f60d4725d07.
This commit is contained in:
Goodlyay 2017-04-01 14:41:40 -07:00
parent 7541130352
commit e665d60f5a
2 changed files with 2 additions and 2 deletions

View File

@ -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) *

View File

@ -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;