Code cleanup.
This commit is contained in:
@@ -112,7 +112,7 @@ namespace Cryville.Crtr {
|
|||||||
|
|
||||||
public HitOp() : base(MAX_SORTS) { }
|
public HitOp() : base(MAX_SORTS) { }
|
||||||
|
|
||||||
protected unsafe override void Execute() {
|
protected override unsafe void Execute() {
|
||||||
LastHit = false;
|
LastHit = false;
|
||||||
for (int i = 0; i < LoadedOperandCount; i++) {
|
for (int i = 0; i < LoadedOperandCount; i++) {
|
||||||
var sort = GetOperand(i).AsNumber();
|
var sort = GetOperand(i).AsNumber();
|
||||||
|
@@ -3,7 +3,6 @@ using Cryville.Common.Pdt;
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
|
|
||||||
namespace Cryville.Crtr {
|
namespace Cryville.Crtr {
|
||||||
public abstract class JudgeAction {
|
public abstract class JudgeAction {
|
||||||
|
@@ -2,7 +2,6 @@ using Cryville.Common;
|
|||||||
using Cryville.Common.Pdt;
|
using Cryville.Common.Pdt;
|
||||||
using System;
|
using System;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
using SIdentifier = Cryville.Common.Identifier;
|
using SIdentifier = Cryville.Common.Identifier;
|
||||||
|
|
||||||
namespace Cryville.Crtr {
|
namespace Cryville.Crtr {
|
||||||
|
@@ -99,7 +99,7 @@ namespace Cryville.Crtr {
|
|||||||
public class Vector4 : FixedBuffer {
|
public class Vector4 : FixedBuffer {
|
||||||
readonly Func<RVector4> _cb;
|
readonly Func<RVector4> _cb;
|
||||||
public Vector4(Func<RVector4> cb) : base(PdtInternalType.Vector, 4 * sizeof(float) + sizeof(int)) { _cb = 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();
|
base.InternalGet();
|
||||||
var vec = _cb();
|
var vec = _cb();
|
||||||
fixed (byte* _ptr = buf) {
|
fixed (byte* _ptr = buf) {
|
||||||
|
Reference in New Issue
Block a user