Skip to content

Instantly share code, notes, and snippets.

View sbowman's full-sized avatar

Sean Bowman sbowman

View GitHub Profile
@sbowman
sbowman / field_of_view.rs
Created February 24, 2020 01:41
Replacement for Rust rltk::field_of_view
use super::Map;
use super::rltk::{BaseMap, Point};
// Transform represents a sector to shadow cast.
struct Transform {
xx: i32,
xy: i32,
yx: i32,
yy: i32,
}
@sbowman
sbowman / scte35.go
Created March 12, 2014 17:52
SCTE35 Parsing with iobit
package main
import (
"encoding/base64"
"fmt"
"github.com/bamiaux/iobit"
)
type SpliceInfoSection struct {
TableID uint32