mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-14 22:50:08 -05:00
commit
ae99d5bb97
|
|
@ -119,7 +119,7 @@ namespace UniGLTF
|
|||
where TFrom: struct
|
||||
where TTo : struct
|
||||
{
|
||||
var bytes = new byte[src.Count() * Marshal.SizeOf(typeof(TFrom))];
|
||||
var bytes = new byte[src.Count * Marshal.SizeOf(typeof(TFrom))];
|
||||
using (var pin = Pin.Create(src))
|
||||
{
|
||||
Marshal.Copy(pin.Ptr, bytes, 0, bytes.Length);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user