Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

falcowinkler/flockingbird-swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

flockingbird-swift

Swift bindings for flockingbird.

Example usage:

let flock = Flock(numberOfBoids: 100, maxX: 1024, maxY: 600)
        let simulationParameters = FlockSimulationParameters(fromDict: ["maxX": 1024, "maxY": 600])
        let flockSimulation = FlockSimulation(flock: flock, simulationParameters: simulationParameters)

setup

git submodule init
git submodule update --recursive
# to update the commit of the submodule
cd Sources/CPP
git pull

build

swift build

test

swift test