Skip to content

Instantly share code, notes, and snippets.

@Skybladev2
Skybladev2 / doc2vec.py
Created May 12, 2019 19:57
Measuring the similarity of books using TF-IDF, Doc2vec and TensorFlow
import collections
import math
import os
import pickle
import random
import re
import time
import urllib.request
import matplotlib.pyplot as plt
@Skybladev2
Skybladev2 / FrustumPlanes.cs
Created April 23, 2019 19:05 — forked from ssell/FrustumPlanes.cs
Implementation of a Unity ECS instanced Sprite renderer with basic frustum culling.
using Unity.Mathematics;
using Unity.Rendering;
using UnityEngine;
namespace Realms
{
/// <summary>
/// Based on Unity.Rendering.FrustumPlanes since those aren't public for some reason.
/// </summary>
public struct FrustumPlanes