https://threejs.org/examples/?q=point#webgl_buffergeometry_points
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
extension OutputStream { | |
func write(data: Data) -> Int { | |
return data.withUnsafeBytes { | |
write($0.bindMemory(to: UInt8.self).baseAddress!, maxLength: data.count) | |
} | |
} | |
var data: Data? { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.XR.iOS; | |
public class MyGenerateImageAnchor : MonoBehaviour { | |
[SerializeField] | |
private ARReferenceImage referenceImage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
// https://www.csharpcodi.com/vs2/1607/MBINCompiler/MBINCompiler/HalfHelper.cs/ | |
public static class HalfHelper | |
{ | |
private static uint[] mantissaTable = GenerateMantissaTable(); | |
private static uint[] exponentTable = GenerateExponentTable(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using Windows.Kinect; | |
using System.Runtime.InteropServices; | |
using System; | |
using System.Linq; | |
using UnityEngine.Rendering; | |
[RequireComponent(typeof(MeshRenderer))] | |
[RequireComponent(typeof(MeshFilter))] | |
public class KinectView : MonoBehaviour { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using System.Runtime.InteropServices; | |
using System; | |
using UnityEngine; | |
using AOT; | |
namespace UnityEngine.XR.iOS | |
{ | |
public class Jetfire { |
emcc -o zstd.js -O0 \
-s WASM=1 \
-s "MODULARIZE=1" \
Get cat.bin
import CoreML