Code cleanup.

This commit is contained in:
2023-05-20 16:31:23 +08:00
parent 25b4f3ccb7
commit cee74b9e31
4 changed files with 2 additions and 4 deletions

View File

@@ -99,7 +99,7 @@ namespace Cryville.Crtr {
public class Vector4 : FixedBuffer {
readonly Func<RVector4> _cb;
public Vector4(Func<RVector4> cb) : base(PdtInternalType.Vector, 4 * sizeof(float) + sizeof(int)) { _cb = cb; }
protected unsafe override void InternalGet() {
protected override unsafe void InternalGet() {
base.InternalGet();
var vec = _cb();
fixed (byte* _ptr = buf) {