or just include the mtlFX.c Predefined Surface Shaders library.

Code:
//#include <acknex.h>
#include <default.c>
#include <mtlFX.c>

function main()
{
	level_load("");
	vec_set(camera.x,vector(-30,0,10));
	vec_set(camera.pan,vector(0,-20,0));
	
	ENTITY* ent = ent_create ("sphere.mdl", nullvector, NULL);

	ent.material = mtl_wireframe;
}




Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P