mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
21 lines
445 B
C
21 lines
445 B
C
//
|
|
// field.h
|
|
// interface
|
|
//
|
|
// Created by Philip Rosedale on 8/23/12.
|
|
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#ifndef interface_field_h
|
|
#define interface_field_h
|
|
|
|
// Field is a lattice of vectors uniformly distributed FIELD_ELEMENTS^(1/3) on side
|
|
|
|
const int FIELD_ELEMENTS = 1000;
|
|
|
|
void field_init();
|
|
int field_value(float *ret, float *pos);
|
|
void field_render();
|
|
void field_add(float* add, float *loc);
|
|
|
|
#endif
|