Skip to content

Instantly share code, notes, and snippets.

module Child exposing (init, update, Message(..))
init = 0
type Message
= InterestingMessage
| InternalMessage
update message model = model
module Child exposing (init, update, Message)
init = 0
type Message
= InterestingMessage
| InternalMessage
update message model = model
module Child exposing (init, update, Message)
init = 0
type Message
= InterestingMessage
| InternalMessage
update message model = model
import pygame
def main():
pygame.init()
window = pygame.display.set_mode((500, 500))
clock = pygame.time.Clock()
y = 100
std::vector<unsigned> Skeleton::jointsToRoot(unsigned index){
std::vector<unsigned> result;
while (index = joints_[index].parent != -1){
result.push_back(index);
}
return result;