Notes on Ray Generation + empty ray class