18 lines
402 B
C#
18 lines
402 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Obi
|
|
{
|
|
[Serializable]
|
|
public class ObiNativeBIHNodeList : ObiNativeList<BIHNode>
|
|
{
|
|
public ObiNativeBIHNodeList() { }
|
|
public ObiNativeBIHNodeList(int capacity = 8, int alignment = 16) : base(capacity, alignment)
|
|
{
|
|
for (int i = 0; i < capacity; ++i)
|
|
this[i] = new BIHNode();
|
|
}
|
|
}
|
|
}
|
|
|