Reconstruct property sources and operators to generic types.
This commit is contained in:
@@ -197,8 +197,8 @@ namespace Cryville.Crtr {
|
||||
const int MAX_DIMENSION = 4;
|
||||
readonly InputVectorSrc[] _vecsrcs = new InputVectorSrc[MAX_DEPTH + 1];
|
||||
readonly InputVectorOp[] _vecops = new InputVectorOp[MAX_DEPTH + 1];
|
||||
unsafe class InputVectorSrc : PropSrc.FixedBuffer {
|
||||
public InputVectorSrc() : base(PdtInternalType.Vector, MAX_DIMENSION * sizeof(float) + sizeof(int)) {
|
||||
unsafe class InputVectorSrc : PropSrc.FixedBuffer<RVector4> {
|
||||
public InputVectorSrc() : base(PdtInternalType.Vector, MAX_DIMENSION * sizeof(float) + sizeof(int), null) {
|
||||
fixed (byte* ptr = buf) {
|
||||
*(int*)(ptr + MAX_DIMENSION * sizeof(float)) = PdtInternalType.Number;
|
||||
}
|
||||
|
Reference in New Issue
Block a user