Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C++ by ss ( 16 years ago )
class mat4
{
 vec4 Line[4];
 public:
 mat4(vec4 v[])
 {
  for(int i=0; i<4; i++)
   Line[i]=v[i];
 }
 vec4& operator [](int i)
 {
  return Line[i];
 }
};

[C++ Error] Unit16.cpp(100): E2279 Cannot find default constructor to initialize member 'mat4::Line'

 

Revise this Paste

Your Name: Code Language: